gammaman Posted May 2, 2010 Share Posted May 2, 2010 OK so I have this form with 2 input boxes and two drop downs. When a choice is made on the second drop down I would like the page to reload keeping the values in all the fields. Then based on the value posted for that second drop down, I would like additional form fields to appear. Can this be accomplished with just html and php? Or do I need javascript? In either case, some guidance would be appriciated. Quote Link to comment Share on other sites More sharing options...
JAY6390 Posted May 2, 2010 Share Posted May 2, 2010 JavaScript is required. I would use AJAX for the dropdown update to save having to refresh the whole page Quote Link to comment Share on other sites More sharing options...
gammaman Posted May 2, 2010 Author Share Posted May 2, 2010 OK well then I have another question. Not really related but I did not want to open a new post. Can someone please show me how to work with $_SESSION variables so that I can carry form values across multiple pages? Quote Link to comment 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.