Hi,<br>I have put in a &#39;submit&#39; and a &#39;cancel&#39; button on my form. No field needs to be filled in and no validation is necessary when the cancel button is clicked. One can make FormBuilder skip the validation by just not including it in the code. <br>
<br>code for the &#39;submit&#39; button:<br><br>if ($self-&gt;formbuilder-&gt;submitted eq &#39;Submit&#39; &amp;&amp; $self-&gt;formbuilder-&gt;validate) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - do something -<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>
code for the &#39;cancel&#39; button:<br><br>if ($self-&gt;formbuilder-&gt;submitted eq &#39;Cancel&#39;) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - do nothing -<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>I am, however, unable to get FormBuilder to not insist on the required fields being filled in when the form is cancelled. How can one do that?<br>
<br>jagdish eashwar<br>