开发者

Addin FOrm with steps

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜