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

From: Date: Tue, 17 Jul 2001 16:56:00 +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-1187@lists.php.net to get a copy of this message
At 18:36 7/17/2001, Jimmy Harlindong wrote the following: -------------------------------------------------------------- >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. That would go the templates-grown-a-new-language direction, and Rasmus would find you at night and slay you while you'd sleep. :) >> -----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. * >> >> > > > >--- >You are currently subscribed to smarty as: cynic@mail.cz >To unsubscribe send a blank email to $subst('Email.Unsub') >Visit Smarty's homepage at >http://www.phpinsider.com/php/code/Smarty/ ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7

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