[Flow] How To use RegularExpressionValidator?
Christian Loock
chl at vkf-renzel.de
Tue Oct 28 16:05:25 CET 2014
Found it:
@Flow\Validate(type="RegularExpression", options={"regularExpression"="/^[^_]*_[^_]*_[^_]*$/"})
Am 28.10.2014 um 14:07 schrieb Christian Loock:
> Hi,
>
> I am trying to add a regular expression validator to one of my models
> properties:
>
> @Flow\Validate(type="RegularExpression",
> regularExpression="/^[^_]*_[^_]*_[^_]*$/")
>
>
> This throws the following error:
>
>
> #1339163902: Required validation option not set: regularExpression
>
>
> How do I pass arguments to a validator to make it work?
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list