Re: Validation of multiple variables using single include file
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Validation of multiple variables using single include file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14315@lists.php.net to get a copy of this message | ||
See the thread at:
http://www.phpbuilder.com/forum/read.php3?num=2&id=163227&thread=162776
for a php solution to this. Thanks to that Vincent chap over there in the netherlands.
Russ
On Tue, 13 Nov 2001 22:33:12 -0500 CK Raju <ckra@vsnl.net> wrote:
> I use PHP with MySQL on Linux box.
>
> I have some 70 odd forms in one of my application, each with varying number
> of parameters.
>
> Is it possible to have a single function declared using JavaScript that can
> accept multiple variables as parameters for validation check, before the form
> is submitted.
>
> What would be the syntax ?
>
> ie at the end of the form I can just write onClick=validate("parameterA",
> "parameterB", "parameterC")
>
> Thanx in advance.
> CK Raju
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
Room 1C 'The Eastings' East Road, Cambridge
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
www.theruss.com
#-------------------------------------------------------#