SyntaxFix
Write A Post
Hire A Developer
Questions
Also, there was just a typo in your original post.
'min:2|max5' should have been 'min:2|max:5'. Notice the ":" for the "max" rule.
'min:2|max5'
'min:2|max:5'