ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-general
pear-general
Re: [PEAR] More FormBuilder questions
by Justin Patrin other posts by this author
May 8 2005 11:54PM messages near this date
[PEAR] More FormBuilder questions | [PEAR] Building forms Flexy vs FormBuilder
On 5/8/05, Dan Rossi <pear@[...].org>  wrote:
>  My usual form layout is two or three fields across columns. The dynamic
>  flexy renderer will not work with this example as it means generating
>  down the page. I am using a static example of quickforms , however when
>  I add the label and html its missing the asterix's. for required
>  fields.
>  
>  My question is how do I set up the required fields, and then let it
>  render the asterix's . On top of this I usually need to add extra
>  buttons to the form and these are usually image buttons and hidden
>  fields so would the $fb object still be referencing QuickForms so I can
>  add the extra form elements ?
>  

As usual, I'm not sure what you're asking. You're mentioning multiple
supposed problems you have, a few things you want, and then ask a
question which doesn't make much sense.

You can, of course, edit the QF object that FB gives you. I suggest
looking into insertElementBefore.

if you want to do a 3 column thing you can always make your own QF
renderer or just use PHP to loop through the elements and choose when
to make a break. Or you can simply make the element template put the
elements in float: left divs instead of a table.

Required fields have the asterixes added by the renderer.

-- 
Justin Patrin

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Dan Rossi
Justin Patrin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved