PDA

View Full Version : How validation messages from the browser instead of error pages



narobe
05-05-2006, 01:55 PM
Hello
Iíve used the Script Andy 128 has on his (EXCELENT TUTORIAL) web page and followed the instructions it Works perfectly.
The only thing is instead of having a error name page and a error email page why not use the Browsers messages this way the mistakes appear on the same page and if you make two mistakes both of them come up at the same time instead of first sending it you get the name error message then you send it again and you get the email error message. Does somebody know how to do this?
Thanks

Nyoman
05-05-2006, 02:27 PM
yes you can and you need to add javascript in your form page and conect to your submit button. example visit here (http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm)

narobe
05-05-2006, 11:18 PM
ok thanks I visited the site and more less got the idea how to it.