cdc515 Posted October 20, 2009 Share Posted October 20, 2009 I am having a few problems with my server side validation. My website is located at www.corporateexpressinc.com/res_off.cfm if you want to view it then that calls a php script which is located at www.corporateexpressinc.com/phpscript.html if you would like to view that to. The problem i am experiencing is when i click submit the select boxes that were selected are reset to null factors losing what the user already inputed i got the text box's input to stay by using this <input name="pickupaddress" value="$senderPickupaddress" type="text" class="pole1" id="pickupaddress" /> but when i tried similar for select box it did not work. <select name="pickuphour" class="pole1" id="pickuphour"> <option value="$senderPickuphour"></option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> please go over my code and help me with this problem and any others you see. Thank You Quote Link to comment https://forums.phpfreaks.com/topic/178397-solved-having-trouble-with-server-side-validation/ Share on other sites More sharing options...
mikesta707 Posted October 21, 2009 Share Posted October 21, 2009 hmm, you gonna have to post more code than that (PHP would probably be fitting in a PHP board) Because the only that would reset your fields on the page you submit them is javascript and a html reset button. Quote Link to comment https://forums.phpfreaks.com/topic/178397-solved-having-trouble-with-server-side-validation/#findComment-940804 Share on other sites More sharing options...
cdc515 Posted October 21, 2009 Author Share Posted October 21, 2009 i posted all the code go to the links above to view all my code Quote Link to comment https://forums.phpfreaks.com/topic/178397-solved-having-trouble-with-server-side-validation/#findComment-940815 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.