Re: how to add radio button group to DataObject_FormBuilder?
| From: | l Burnerheimerton | Date: | Wed, 05 Jan 2005 14:29:48 +0000 |
| Subject: | Re: how to add radio button group to DataObject_FormBuilder? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16650@lists.php.net to get a copy of this message | ||
From slide 30 of http://www.21st.de/downloads/rapidprototyping.pdf,
I tried this:
var $fieldLabels = array('showWeb' => 'Show on Web: ');
It threw an error - unexpected T_VAR
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
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.