Re: Re: QuickForm, Sigma and {qf_required_note} modification ...

From: Date: Tue, 22 Jul 2003 14:18:01 +0000
Subject: Re: Re: QuickForm, Sigma and {qf_required_note} modification ...
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18535@lists.php.net to get a copy of this message
Nicolas Hoizey wrote in php.pear.dev: >>> When I used the old QuickForm 2, I used the setRequiredNoteTemplate() >>> method to set the note with my own text. >> >> This was not the right way... ;-) > > Why then was this possible? ;) setRequiredNote('denotes required field'); setRequiredNoteTemplate(' <span style="color: #FF0000;">*</span>{required_note}'); Output ------ <span style="color: #FF0000;">*</span>denotes required field setRequiredNoteTemplate() is deprecated in the QuickForm base class since 3.0, because this should handled by the renderer. ThS. -- http://4bconsult.de

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