TJMAudio Posted May 30, 2008 Share Posted May 30, 2008 I am trying to make a form validation, however my form uses heavy amounts of checkboxes and selects (upwards of 400 total). If a user currently does not fill the form in correctly, he has to go through and completely redo all of his work. How would you store a checkbox or select value in a form, and then set the checkbox/select to that by default if the session is set? The only way I could think of how to do it is run an if() for every single checkbox, checking if the session is set. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/108031-storing-checkboxes-and-selects-in-a-_session/ Share on other sites More sharing options...
craygo Posted May 30, 2008 Share Posted May 30, 2008 How are you making the checkboxes?? Did you type them all manually or did you use a loop? Ray Quote Link to comment https://forums.phpfreaks.com/topic/108031-storing-checkboxes-and-selects-in-a-_session/#findComment-553737 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.