RE: How to do a "smart form" functionality?
| From: | Jimmy Harlindong | Date: | Tue, 17 Jul 2001 01:34:34 +0000 |
| Subject: | RE: How to do a "smart form" functionality? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1172@lists.php.net to get a copy of this message | ||
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?
> -----Original Message-----
> From: Andreas Aderhold [mailto:a.aderhold@thyrell.de]
> Sent: Monday, 16 July 2001 7:58 PM
> To: Jimmy Harlindong; smarty@lists.ispi.net
> Subject: [smarty] RE: How to do a "smart form" functionality?
>
>
> Hi Jimmy,
>
> there is something similar form Manuel Lemos (Metabase)
> called PHP From class. It's pretty groovy.
>
http://phpclasses.upperdesign.com
Andi