Hi.. I want to use submit button which can bypass client validation. Having read this documentation: http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Submit.html, I was trying to use Submit component with mode="cancel" like this:
<t:form t:id="form"> <t:textfield t:id="testField" t:value="testField" t:validate="required" /> <t:submit value="normal submit"/> <t:submit mode="cancel" value="cancel submit"/> </t:form> But, when I click "cancel submit", nothing happen (form is not submitted to server). If I click "normal submit" after "cancel submit", the form is submitted to server without client validation. Why do I should click two buttons ( "cancel" and then "normal" submit) to bypass client validation? Is it a bug? "Cancel submit" supposed to directly submit form to server, isn't it? Is there a simple workaround for this? Thanks in advance, Best regards, Yohan Yudanara