Re: HTML_QuickForms and standards
| From: | Justin Patrin | Date: | Fri, 07 Apr 2006 22:20:55 +0000 |
| Subject: | Re: HTML_QuickForms and standards | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23587@lists.php.net to get a copy of this message | ||
On 4/7/06, Jad madi <syntux@gmail.com> wrote:
> any idea how to use quickforms to generate table-less forms?
> lets say I want form with the following structure
>
> <form>
> <fieldset>
> <legend>Personal information</legend>
> <label for="name">Name</label>
> <input id="name" name="name"><br />
>
> <label for="address">Address</label>
> <input id="address" name="address"><br />
>
> <label for="city">City</label>
> <input id="city" name="city"><br />
>
> </fieldset>
> <fieldset>
> <legend>Login information</legend>
> <label for="uname">user-Name</label>
> <input id="uname" name="uname"><br />
>
> <label for="password">password</label>
> <input id="password" name="password"><br />
> </fieldset>
> </form>
>
QF does not have this as a built-in option, but you can change the
default renderer fairly easily to do most of this. (well, perhaps not
the for attributes). There have also been e-mails to the list with
peoples' classes for this before. Try searching the archives.
--
Justin Patrin