[thelist] help with form validation using ASP/VBScript
Ken Schaefer
Ken at adOpenStatic.com
Mon Feb 28 18:27:00 CST 2005
www.adopenstatic.com/resources/code/UIValidation.asp
Cheers
Ken
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Pringle, Ron
Subject: RE: [thelist] help with form validation using ASP/VBScript
> 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?
More information about the thelist
mailing list