开发者

Addin FOrm with steps

开发者 https://www.devze.com 2023-02-05 03:30 出处:网络
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中

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消