Validation of multiple variables using single include file

From: Date: Wed, 14 Nov 2001 03:33:12 +0000
Subject: Validation of multiple variables using single include file
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-14309@lists.php.net to get a copy of this message
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

« previous php.db (#14309) next »