Re: how to add radio button group to DataObject_FormBuilder?

From: Date: Wed, 05 Jan 2005 18:04:40 +0000
Subject: Re: how to add radio button group to DataObject_FormBuilder?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16665@lists.php.net to get a copy of this message
On Wed, 5 Jan 2005 06:29:48 -0800 (PST), l Burnerheimerton <lburnerheimerton@yahoo.com> wrote: > From slide 30 of http://www.21st.de/downloads/rapidprototyping.pdf,$ÙÓ > »¶Ï_oÇï; I tried this: Again, be careful of these slides. They're not correct for many things. When setting config options in the DO the var name must be prefixed with fb_. See the entry here: http://opensource.21st.de/tiki-index.php?page=Configuring+Formbuilder#id275747 > > var $fieldLabels = array('showWeb' => 'Show on Web: '); > > It threw an error - unexpected T_VAR Where did you put this? It has to be within the table's DO class. > > I tried several derivatives of it in both placement and with and witout the var in front - > still did not work. > > Any ideas are much appreciated! > > Justin Patrin <papercrane@gmail.com> wrote: > On Tue, 4 Jan 2005 20:23:48 -0800 (PST), l Burnerheimerton > wrote: > > Thanks. That works. How to change the label for the field. You can do it in quickform when > > you addgroup(). How do change the label name in formbuilder? > > Use fieldLabels. > > > > > Thanks > > > > Justin Patrin > wrote: > > On Tue, 4 Jan 2005 16:43:35 -0800 (PST), l Burnerheimerton > > wrote: > > > > > > I've tried a myriad of ways and can't seem to get it to work. Any samples > > > on how to add a simple Yes/No radio button group using DataObject_FormBuilder? > > > > > > > I've just created a FAQ for this as it's been asked a few times. > > http://opensource.21st.de/tiki-view_faq.php?faqId=1 > > > > -- > Justin Patrin > -- Justin Patrin

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