<form jwcid="[EMAIL PROTECTED]:AjaxForm">

      <input jwcid="@TextField" value="ognl:value"
validators="validators:required"/>

      <input jwcid="@Tacos:AjaxSubmit" value="Cancel"
updateComponents="ognl:{'formDiv'}" action="listener:cancelEdit"
onclick="tacos.cancelForm('editForm')"/>

</form>

 

I cannot cancel the form while bypassing the client validation. It keeps
showing "You must enter a value for.".

I have tried onclick="tacos.cancelForm(document.editForm)" as well.

Please help.

Reply via email to