Re: QuickForm::setRequiredNote problem

From: Date: Sat, 13 Sep 2003 21:10:43 +0000
Subject: Re: QuickForm::setRequiredNote problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7791@lists.php.net to get a copy of this message
<aneiros@finf.ucf.edu.cu> wrote : > When you define a 'required' field in Quickform, appears a red asterisk to > the left of the field and a message below the form explaining that the > field is required (in English). When you use the setRequiredNote to change > the message occurs two things: > > a) The asterisk in front of the note dessapears. (I think this is a bug). > > But if you put the asterisk in front of the string you supply to > setRequiredNote then: > > b) The asterisk appears but not in the same color than the one in front of > the field. > > I hope the developer could fix the problem. There is no bug in this feature. But there might be a bug in your code, especially in your template. Look here for more info about requiredNote and templates: http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.set requirednote.php http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-ren derer-default.setrequirednotetemplate.php http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-ren derer-default.setelementtemplate.php HTH Bertrand Mansion Mamasam

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