Welcome Guest, Not a member yet? Register   Sign In
App flow question
#3

[eluser]Evil Wizard[/eluser]
you could put a hook in to the script that switches tabs to submit the form, however that could lead to empty form submission and failed validation, resulting in false negatives. That said you could have a "is_dirty" check for the form, for instance when an input box changes, a checkbox/radio button is clicked and then in the tab change code check if the form state is dirty and submit the form but add the target of the tab change to the post data so the correct tab page is loaded on processing the form.

ADDED:
I would also suggest using JQuery to achieve this


Messages In This Thread
App flow question - by El Forum - 06-03-2009, 05:02 AM
App flow question - by El Forum - 06-03-2009, 05:16 AM
App flow question - by El Forum - 06-03-2009, 05:39 AM
App flow question - by El Forum - 06-03-2009, 05:41 AM
App flow question - by El Forum - 06-03-2009, 05:59 AM
App flow question - by El Forum - 06-03-2009, 06:03 AM
App flow question - by El Forum - 06-03-2009, 06:29 AM
App flow question - by El Forum - 06-04-2009, 10:24 AM
App flow question - by El Forum - 06-05-2009, 06:22 AM
App flow question - by El Forum - 06-05-2009, 06:34 AM
App flow question - by El Forum - 06-08-2009, 02:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB