Re: [HTML_QuickForm] tableless forms
| From: | Bertrand Mansion | Date: | Tue, 10 Aug 2004 07:58:06 +0000 |
| Subject: | Re: [HTML_QuickForm] tableless forms | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14044@lists.php.net to get a copy of this message | ||
Marcus Krause wrote:
>First, I'm trying to build tableless forms.
>
>A simple form would be like this:
>
><form>
> <fieldset>
> <legend>Form</legend>
> <label for="form_element">Label</label>
> <input type="text" name="form_element" id="form_element"
> /><br />
> </fieldset>
> <fieldset>
> <legend>Form2</legend>
> <label for="form_element2">Label</label>
> <input type="text" name="form_element2" id="form_element2"
> /><br />
> </fieldset>
></form>
>
>Is it possible at all to realize this by using the render engine?
>Are there any examples online, I didn't found anything?
You could write your own renderer for this kind of rendering or use an existing template renderer
(for example the one that uses HTML_Template_Sigma).
Have a look at the documentation on how to use/make renderers.
Bertrand Mansion
Mamasam