For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > November 2004 > Re: [PEAR] QuickForms









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] QuickForms
Justin Patrin

2004-11-29, 4:04 pm

On Mon, 29 Nov 2004 11:00:39 -0500, Robert Caskey <rcaskey@uga.edu> wrote:
> Is there a way in QuickForms to do either of the following:
>
> have a form element group with html? I tried to have a group with
> labels and controls to produce output that looked like:
>
> Last Name ____________ First Name ___________ Middle Name
> _______________ instead of the
>
> (Last, First, Middle Name) _________ ___________ ________ as is
> shown in the examples, but all html seemed to end up outside the form (
> rendered above in the browser).
>
> Similarly I would like to use QuickForms to do text fields in a table
> on my form with some labels at the top to create a kind of grid effect
> (Name, Email, Phone Number labels at the top and three rows of blank
> boxes below that so people could enter in some references). Any ideas
> on how to achieve this? I was feeling pretty good about things until I
> couldn't get the html to actually render in-line.
>


If you're using the html element then no <tr> or <td> tags are created
for you. It's for injecting any HTML you want anywhere. Note that it's
been deprecated (IMHO it shouldn't be). If you want your own HTML to
appear within the form table use a static element type.

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com