Jump to content

[SOLVED] having trouble with server side validation


Recommended Posts

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

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.