[Flow] How To use RegularExpressionValidator?

Christian Loock chl at vkf-renzel.de
Tue Oct 28 14:07:39 CET 2014


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?



More information about the Flow mailing list