RE: [SMARTY] Is smartyform working?

From: Date: Mon, 24 Mar 2003 21:55:19 +0000
Subject: RE: [SMARTY] Is smartyform working?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8870@lists.php.net to get a copy of this message
Hey Jens! I use it, and am kinda on the developer team. The latest CVS version works just fine, although one bug that I know exists: If you use keep=TRUE it may blow away any existing sessions you might have, but it may not for you :-), does for me. Try the CVS version using the docs for notes, all files go into a smarty plugin folder. A simple example is the validation_pattern.tpl in /examples in CVS. You may wonder how to process the form...actually it's quite simple... You create your {step} with your form in it as per the example above, but if you want to process that data, in the second {step} add a smarty function to process the variables either assigned in the template to use in the function like $params['email'] or as request variables ($_REQUEST['email']). So the second (or 3rd or whatever) does the processing then outputs the content in that step also, i.e. the result of the smarty function if there is one. You could have functions in every step from 2nd onwards in multipart forms if you liked. Hope this helps. We will perhaps setup a general list for SmartyForm in the near future, I will check with Darkelder the lead. Simon H > -----Original Message----- > From: Jens Loehrer [mailto:Loehrer.Jens@imagx.com] > Sent: Monday, March 24, 2003 7:32 PM > To: smarty-general@lists.php.net > Subject: [SMARTY] Is smartyform working? > > > Is somebody using smartyform RC or CVS [ > http://smartyform.sourceforge.net ] successfully with smarty? > > If yes, please tell me your version of smarty and smartyform? > > Another question: Which smarty prefilter existing for > serverside form validation? > > Thanks! > Jens > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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