Re: Alternative to Quickforms - Not Use Tables
| From: | Shawn McKenzie | Date: | Thu, 06 Mar 2008 01:51:24 +0000 |
| Subject: | Re: Alternative to Quickforms - Not Use Tables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271060@lists.php.net to get a copy of this message | ||
Manuel Lemos wrote:
> Hello,
>
> on 03/05/2008 08:22 PM Stephen said the following:
>> Subject says it.
>>
>> Is there an open source class for forms that provides for the use of CSS
>> for the layout of forms?
>
> You may want to try this forms generation and validation class. It comes
> with a vertical layout plug-in. By default it uses tables, so you do not
> have to hardcode widths to make field rows and label columns align, but
> you can override the default templates and set them to use tableless HTML.
>
> http://www.phpclasses.org/formsgeneration
>
> Take a look at the test_auto_layout_form.php example.
>
I knew it! I was going to suggest phpclasses. Also, depending upon
what you do in your apps, consider a framework. There are many to
choose from. I have evaluated several and prefer cakephp. Normally you
won't use php to build the form but use html templates.
-Shawn