Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

[SValidate][reqs?] Default transform + standard php filters

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
NoWhereMan
Smarty Rookie


Joined: 14 Feb 2006
Posts: 15

PostPosted: Thu Feb 01, 2007 9:06 pm    Post subject: [SValidate][reqs?] Default transform + standard php filters Reply with quote

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 Smile
_________________
-- FlatPress Flat-file based blog, Smarty-powered
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP