Re: New form fields using DB_DO_FormBuilder?

From: Date: Mon, 30 Jan 2006 14:46:46 +0000
Subject: Re: New form fields using DB_DO_FormBuilder?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22726@lists.php.net to get a copy of this message
On 1/30/06, Hugo W. Alves <hwalves@yahoo.com.br> wrote: > Hi, > I´m using DB_DataObject_FormBuilder to create a table form. But I wanna create new form > fields in this form, as a button, how I do that? I would add a line similar to this: $form->addElement('button','check','Check the Page','onClick="checkPage();"'); within the postGenerateForm callback within your DataObject generated class file, see http://opensource.21st.de/24.html#A3 http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.addelement.php > Hugo Alves. > hwalves@yahoo.com.br > > > > --------------------------------- > Yahoo! doce lar. Faça do Yahoo! sua homepage. > If that's not what you're looking for maybe some more details might help us understand exactly what you're trying to do. -- -Brett http:saltybeagle.com aim:ianswerq

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