Welcome Guest, Not a member yet? Register   Sign In
Page with two+ forms - submit on enter not working?
#1

[eluser]smilie[/eluser]
Oke, have strange problem :-)

When you have more then 1 form on the page (using CI form helper) browser will only submit last form on enter key (on keyboard).

So, if users is on the i.e. first form on the page, he fills the data in and hits enter - nothing happens :S

Workaround is to place a form_submit(); button (emtpy works as well) in a hidden <tr> inside that form. But, that's not quite what I like, to make messy code Sad

Is there a 'legitim' work around this problem?

Cheers,
Smilie


Messages In This Thread
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 03:57 PM
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 04:56 PM
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 05:09 PM
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 05:56 PM
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 06:31 PM
Page with two+ forms - submit on enter not working? - by El Forum - 11-13-2010, 06:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB