Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] One form across multiple divs/tabs ?
#2

[eluser]Brandt1981[/eluser]
From what you can see, when the page first loads, the forms are blank. and the submit url is set to 'home/create'


When a result from a primary key query is returned the textboxes in all the tabs are filled with the data and the submit url is set to 'home/update'

When the data in a text box is modified and submitted it goes to 'home/update'


This is easy enough with one form, but with multiple forms calling the same functions, I get confused...

I was hoping to put all the tabs in one form element, but that didn't seem to work. The CSS got all screwed up.


I guess I can create multiple functions for each form, but is this the right way to go?


EDIT: I ended up creating multiple functions for each form instead of some sort of javascript form collector...


Messages In This Thread
[SOLVED] One form across multiple divs/tabs ? - by El Forum - 10-19-2010, 04:49 PM
[SOLVED] One form across multiple divs/tabs ? - by El Forum - 10-19-2010, 04:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB