[TYPO3-project-formidable] Conditional validators ?

Jérémy Lecour jeremy.lecour at gmail.com
Fri Sep 1 18:47:57 CEST 2006


Could you give me a hint, or an example ?

Thanks

2006/9/1, FS <fs.nospam1 at a-e-r.org>:
> 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
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>


-- 
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/



More information about the TYPO3-project-formidable mailing list