[TYPO3-project-formidable] Conditional validators ?

FS fs.nospam1 at a-e-r.org
Fri Sep 1 18:09:46 CEST 2006


If you play with the <modifiers>, you can do what you want.
-> the modifier will modify the validator if the field is or not blank.

--
F. SCHOSSIG, ICT Manager
Assemblée des Régions d'Europe
http://www.a-e-r.org


Le 1 sept. 06 à 17:45, Jérémy Lecour a écrit :

> Hi,
>
> Is it possible to have some conditions applied to validators ?
> I'd like to set a field as mandatory only if another one is blank.
>
> Another way to do this would be to permit userobj in validators. A
> specific function could be lanched and checked to see if true or false
> is returned to determine if the validation is passed or not.
>
> I hope that something like that could become real soon ;-)
>
> Thanks
>
> --  
> Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
> webdesigner, webmaster et développeur web
> Trésorier du PLUG : Provence Linux User Group
> http://www.plugfr.org/
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project- 
> formidable




More information about the TYPO3-project-formidable mailing list