Re: HTML::QuickForm compare with string

From: Date: Thu, 11 Nov 2004 17:49:37 +0000
Subject: Re: HTML::QuickForm compare with string
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15451@lists.php.net to get a copy of this message
On Thu, 11 Nov 2004 10:20:55 +0100, Alexander Petri <alex.petri@gmx.de> wrote: > im searching for the right rule for compare > a field with a given string > > thist is my thought but it dont work > > $form->addRule('passwd_old', 'passwort stimmt nicht mit dem alten > überein', > 'eq', $user->password, 'server'); > > can someone help me? > Try using a 'callback' type. -- Justin Patrin

« previous php.pear.general (#15451) next »