By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,870 Members | 2,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,870 IT Pros & Developers. It's quick & easy.

registration form maintain when it reload

P: 56
I have one registration form.In that name,address,gender,country,state,city,...feilds are there.There is combo box of country and when we select the country the states according to the selected country is reload in the state combo box.But when i select the state the value of above text box name,address,gender is been blank.so how can i maintain the value of above textbox when i select the state combo box.Pls answer me as soon as possible!!!!!!
Dec 12 '07 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
You can retrieve the field values ($_GET or $_POST) and insert them in your form as default values or (in case of select fields) adjust the selected attribute according to your input values.
Aug 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.