[Javascript] Form validation wrong=no upload

Peter-Paul Koch gassinaumasis at hotmail.com
Fri Feb 21 10:01:13 CST 2003


>Just on the final stages of a form that uploads a file and emails the 
>contents of the form fields, The only Validation I can find still uploads 
>the file even though it did find wrong/blank entries. I want it to return 
>to the form without emailing and uploading.
>Can anyone point me to script that does that...

http://www.xs4all.nl/~ppk/js/index.html?forms.html gives a general 
introduction to JavaScript form validation and how to prevent the sending of 
the form.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
W3C DOM Compatibility Table, expanded & updated
http://www.xs4all.nl/~ppk/js/index.html?version5.html
--------------------------------------------------



_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the Javascript mailing list