|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
NoWhereMan Smarty Rookie
Joined: 14 Feb 2006 Posts: 15
|
Posted: Thu Feb 01, 2007 9:06 pm Post subject: [SValidate][reqs?] Default transform + standard php filters |
|
|
Is there something like a "default transform" ?
I would like to do something like
SmartyValidate::add_default_transform('stripslashes');
so that it is always applied to every validated field
moreover, I would love if you could use every transform without having to register it or add it as a plugin (see the stripslashes example above) if it exist as php functions, as it's done with smarty modifiers
thank you _________________ -- FlatPress Flat-file based blog, Smarty-powered |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|