CodeIgniter Forums
Multi step form best practice - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Multi step form best practice (/showthread.php?tid=52439)



Multi step form best practice - El Forum - 06-11-2012

[eluser]Wonder Woman[/eluser]
Hi,

I currently have a Multi step form set up and I am just wondering the best way to set it because it will hold sensitive data. At the moment I have a 5 page form which uses ajax to validate each step and then redirect to the next step. I have included a 'back' button on each step and the form is populated with the data they have just entered from db sessions I have created and I am just wondering if this is a wise thing to do or not? Or should I restrict them from not being able to go back to a previous step even though this may frustrate the user. I am destroying the sessions on form submit.

Thanks in advance Smile