Date: 12/13/00
- Next message: Martijn Prummel: "[phplib-dev] Supporting another webserver.."
- Previous message: uw: "[phplib-dev] cvs commit"
- Next in thread: uw: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: uw
Date: Wed Dec 13 15:14:25 2000
Modified files:
php-lib/php/form/form.inc
Log message:
- clear form validation error list before validation starts
Index: php-lib/php/form/form.inc
diff -u php-lib/php/form/form.inc:1.12 php-lib/php/form/form.inc:1.13
--- php-lib/php/form/form.inc:1.12 Tue Dec 12 02:37:32 2000
+++ php-lib/php/form/form.inc Wed Dec 13 15:13:53 2000
@@ -3,7 +3,7 @@
* Public methods of the form class.
*
* <email protected> Ulf Wendel <ulf.wendel <email protected>>
-* <email protected> $Id: form.inc,v 1.12 2000/12/12 01:37:32 uw Exp $
+* <email protected> $Id: form.inc,v 1.13 2000/12/13 14:13:53 uw Exp $
* <email protected> Form
*/
class form extends form_copiedapi {
@@ -497,6 +497,9 @@
*/
function validate($vallist = "") {
+ $this->validation_msg = "";
+ $this->validation_flags = array();
+
if (!is_array($vallist) && isset($this->elements[$vallist]))
$vallist = array($vallist);
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: Martijn Prummel: "[phplib-dev] Supporting another webserver.."
- Previous message: uw: "[phplib-dev] cvs commit"
- Next in thread: uw: "[phplib-dev] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

