title: How to prevent server side validation from running when a button is clicked?
body: <p>I have a required Edit Box in a facet of a dynamic content control. Client side validation is disabled. I want to have a cancel button in this facet that will take the user back to the previous facet they were on. The part I cannot figure out is how to tell the Edit Box to not run the validation when the Cancel button is clicked.</p>
  
  <p>Here is my cancel button:</p>
  
  <pre><code>&lt;xp:button value="Cancel" id="button1"&gt;
      &lt;xp:eventHandler event="onclick" submit="true" refreshMode="complete"&gt;
          &lt;xp:this.action&gt;&lt;![CDATA[#{javascript:getComponent("dc").show(sessionScope.backBtn);}]]&gt;&lt;/xp:this.action&gt;
      &lt;/xp:eventHandler&gt;
  &lt;/xp:button&gt;
  </code></pre>
  
  <p>Here is the required edit box:</p>
  
  <pre><code>&lt;xp:inputText id="inputText1" value="#{document1.Vendor}" required="true" disableClientSideValidation="true"&gt;
      &lt;xp:this.validators&gt;
          &lt;xp:validateRequired message="Vendor name is a required field."&gt;&lt;/xp:validateRequired&gt;
      &lt;/xp:this.validators&gt;
  &lt;/xp:inputText&gt;
  </code></pre>