RE: How to do a "smart form" functionality?

From: Date: Tue, 17 Jul 2001 16:36:23 +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-1184@lists.php.net to get a copy of this message
It might look silly but it can be very very powerful and time saving. Imagine if those smarty tags are doing 'something'. I am not talking about just translating {form} into <form> but do something more like data validation etc. > -----Original Message----- > From: Andrei Zmievski [mailto:andrei@ispi.net] > Sent: Tuesday, 17 July 2001 11:11 PM > To: Jimmy Harlindong > Cc: smarty@lists.ispi.net > Subject: Re: [smarty] RE: How to do a "smart form" functionality? > > > 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. * > >

« previous php.smarty.general (#1184) next »