Re: Javascript help require

From: Date: Sun, 27 Jun 2004 04:35:18 +0000
Subject: Re: Javascript help require
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34998@lists.php.net to get a copy of this message
Hello, On 06/26/2004 11:04 AM, Rinku wrote:
I need Javascript help for this.... 1)I want to validate a variable called "name" If variable's value is not set then system should say "Value require". If its not alphabatic then system should say "Alphabatic value require". And curser's focus should come on textbox named "name". 2)I want to validate a variable called "Phone_no" If variable's value is not set then system should say "Value require". If its not numeric then system should say "Numeric value require". And curser's focus should come on textbox named "Phone_no".
You may want to try this forms generation and validation class that can do exactly what you ask. http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.db (#34998) next »