HI, i want to make a step by step form.
I've made a very basic example in JS. On Each step, i would validate it and then save the stuff into a JS array and save it to DB. Or sho开发者_StackOverflow中文版uld i save it into session and use URL parameters? I have a session for sure.
Here the JS example: http://pastebin.com/tApnnqeS
On this example, i have to set it back to 0 since it gets cached. Can i do it in the JS way, or is it somehow stupid?
Maybe have a look at PEAR's HTML_QuickForm or HTML_QuickForm2. They support multi-page forms.
精彩评论