Hi,

I have a form with a cancel button with type="submit" as suggested here:
https://cwiki.apache.org/confluence/display/WICKET/Multiple+submit+buttons.

Since version 6.10.0, Wicket adds the HTML5 required attribute which causes
the browser validation to fail when the user clicks the Cancel button. Since
the button's type is "submit", the browser forces the user to fill-in the
required fields and doesn't  send the cancel request to the server.

What is the best way to fix this?

Thanks,

Luis



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-10-required-attribute-and-cancel-buttons-tp4661191.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to