title: JSF skip Required-Validation without immediate=true
body: <p>I have multiple forms, where I have mandatory fields and optional fields.</p>
  
  <p>To <em>submit</em> such a form I require the validation on the required-attribute to be executed, which works fine.
  To <em>cancel</em> such a form I use the attribute <code>immediate="true"</code> on the <code>p:commandbutton</code>, which makes its action happen during the <strong>Apply Request Values</strong>-Phase as addressed here: <a href="https://stackoverflow.com/questions/6062923/how-to-skip-validation-when-a-specific-button-is-clicked">How to skip validation when a specific button is clicked?</a></p>
  
  <p>However, for large forms I want to provide the user with a Save-Button, so he can proceed later.</p>
  
  <p>For just saving the current state I also want to ignore the validation of the required-attribute. However, using <code>immediate="true"</code> is not working, because then my save method simple saves nothing, because the JSF lifecycle never hits the "UpdateModelValues"-Phase. (Acording to <a href="http://www.javacodegeeks.com/2012/01/jsf-and-immediate-attribute-command.html" rel="noreferrer">http://www.javacodegeeks.com/2012/01/jsf-and-immediate-attribute-command.html</a> )</p>
  
  <p>So, how to bypass the required-check but not skip half the lifecycle? </p>