[thelist] help with form validation using ASP/VBScript

Pringle, Ron RPringle at aurora-il.org
Mon Feb 28 16:12:39 CST 2005


> Ron, here's an example form and function i use.  this should help you:
 
<SNIP>

> So, basically, you need to assign the id of the input button to the 
> function name of the VB script, and call it onClick.  make sense?
> 
> This will validate much like a javascript would, on the client.
> Keep in mind, this only works in IE/M$ products/browsers.  
> Firefox and 
> the likes will be left with a submit button that doesn't do anything.

Brian-

Ahh, makes sense now. And thank you for pointing out that it won't work in
anything other than IE. Since our site has to be cross browser compatible, I
guess I can forget validating it that way.

So it appears that I'm left with sending the form to a validation page?

Ron 


More information about the thelist mailing list