Welcome Guest, Not a member yet? Register   Sign In
Multi-step Form submit
#1

[eluser]Wonder Woman[/eluser]
Hi,

I am building a multi-step form and I want to know how I can use ajax to submit it.

Basically I have it already so that step one is filled in and validated and then these details are stored in a session and then step two follows the same and on step three everything is inserted in to the database.

They're currently all in separate views...I've not used ajax before can anyone point me in the right direction on what I need to do?

Many thanks.
#2

[eluser]frist44[/eluser]
Look into using something like Jquery and when you submit the first form to a function in your controller, have it return whatever you want (the 2nd view) and then process it with the jquery to display wherever/however you want.




Theme © iAndrew 2016 - Forum software by © MyBB