RE: How to do a "smart form" functionality?
| From: | Andrei Zmievski | Date: | Tue, 17 Jul 2001 13:11:04 +0000 |
| Subject: | RE: How to do a "smart form" functionality? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1176@lists.php.net to get a copy of this message | ||
On Tue, 17 Jul 2001, Jimmy Harlindong wrote:
>
> I have had a look at Lemos' class. It is very comprehensive but also
> tedious to use.
> Most importantly it defines the HTML in the php code instead of inside
> the template where HTML belongs.
>
> I think there'd be no choice but to write one to work with smarty's way.
>
> I am thinking of adding these tags:
>
> {form name=abc}
> {form_label name=name label="Name:"} {form_input name=name}<br>
> {form_label name=email label="E-Mail:" {form_input name=email}<br>
> {form_submit}
> {/form}
>
> any thoughts?
What is this going to accomplish?
-Andrei
* We reason deeply, when we forcibly feel. *