[QUICKFORM] Javascript validation of two fields or more...

From: Date: Sun, 24 Aug 2003 16:28:04 +0000
Subject: [QUICKFORM] Javascript validation of two fields or more...
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20459@lists.php.net to get a copy of this message
Hi, I have two password fields in a form (one for the password an the other to confirm it). I'm trying to register in Quickform a javascript validation function that compares the two fields, but i can't achieve it. It seems like registerRule only accepts javascript functions that treat with a single field of the form. Can anybody help me? Another question: Can I register javascripts functions via addFormRule? Thanks!!! Carles

« previous php.pear.dev (#20459) next »