On Thu, 21 Mar 2002, David Johansen wrote:
> I was wondering if there was a way to do validation of the values in forms.
> I know that I could just check it all after it's been submitted with a post,
> but is there any way to do it as they're entering the data or when they
> click the button right before it sends the data?

Sure, go read about JavaScript. Doesn't have much to with PHP except that 
you can dynamically generate the JavaScript code to go along with 
dynamically-generated forms, if the need arises.

Also please remember that plenty of people surf with JavaScript off, 
some by choice and some because of institutional policy. So you should 
make sure your page still works without it.

But all this is a matter for another forum.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to