Extend the tform library to apply filters on form values
Extend the tform library with a filter function that can be set for fields in tform file. The config syntax is simalr to form validators. Example:
'filters' => array ( 0 => array ( 'type' => 'TOLOWER', 'event'=> 'SAVE') 1 => array ( 'type' => 'TOUPPER', 'event'=> 'SHOW') )
A filter can be applied to a value before it is saved to the database or when it is loaded from database.Multiple filters can be applied after another.