I have gotten some weird error lately on one of my models. Here’s the context:
I have a model with the field “area”, it has a “array(‘area’, ‘length’, ‘max’ => 25)”.
On the client side, the form input itself, which is a text type, I set maxlength="25".
Now, when validating server-side I get the error "model errors: area=Area is too long (maximum is 25 characters)"
I can’t see how this may happen except someone not posting from the webiste.
Anyone have any clue here?
Thanks a lot!