Re: denotes required field

From: Date: Tue, 07 Sep 2004 17:35:51 +0000
Subject: Re: denotes required field
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14442@lists.php.net to get a copy of this message
On Tue, 7 Sep 2004 10:51:01 +0200, Leo Márquez <leo@calidae.net> wrote: > Hi!, > > I'm working with DB_DataObject_FormBuilder and I'm trying to change > the required note at the bottom of form. I try it with the attribute > $fb_requiredNote in the dataobject but the required note doesn't > change. I try it too in preGenerate form method modifying the form: > $form->requirednote="something" > But it does not work either. > Surely that something I am making bad but I do not know what. > I'm not sure why you thought this was configurable through FormBuilder as I see no mention of it in the code or in the docs: http://opensource.21st.de/tiki-index.php?page=Formbuilder+documentation You should be able to set this in the form through the setRequiredNote() function. $form->setRequiredNote('* denotes required'); -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

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