Aargh, wasn't aware of that.
Thanks.
On Fri, Aug 9, 2013 at 9:33 AM, Martin Grigorov wrote:
> Hi,
>
> This is how the browsers work. If there is one form element then ENTER
> submits, otherwise - no.
>
> You can register a listener on the form for keyup events that checks the
> keyCode and on EN
Hi,
This is how the browsers work. If there is one form element then ENTER
submits, otherwise - no.
You can register a listener on the form for keyup events that checks the
keyCode and on ENTER does: $('#buttonId').trigger('click')
On Thu, Aug 8, 2013 at 6:13 PM, Jochen Mader wrote:
> Wicket 6
Wicket 6.9.1:
I ran into a weird issue:
I am trying to submit a form when pressing enter. Using
the AjaxFormValidatingBehavior (same for AjaxFormSubmitBehavior) I can
submit a form with a SINGLE FormComponent.
When adding a second one the form won't submit when pressing enter.
Sourcecode below sho