numbenator
03 Dec 2005, 11:33 AM
HI ,
I have a form that clients can enter details on and select a image for upload. My form works great. When user submit, a new asp page is called that proceses my form using a fileUploadObject.
My problem is that I wish to validate the user entries before the form is submitted so as if the user fails to enter say... his name , I can remain on page so as not to loose the data that was actually entered correctly.
I figured (i think lol) some javascript on each input field or a script that runs before form submission would enable me to validate.
I know absoluelty no javascript so any help would be appreciated.
steve
I have a form that clients can enter details on and select a image for upload. My form works great. When user submit, a new asp page is called that proceses my form using a fileUploadObject.
My problem is that I wish to validate the user entries before the form is submitted so as if the user fails to enter say... his name , I can remain on page so as not to loose the data that was actually entered correctly.
I figured (i think lol) some javascript on each input field or a script that runs before form submission would enable me to validate.
I know absoluelty no javascript so any help would be appreciated.
steve