MyBB Community Forums

Full Version: Textarea maximum length limit not considered
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,
I'm doing some tests with custom profile fields with 1.8.8 default theme (upgraded from a clean, never-used-before 1.8.6) and I'm noticing that, while textbox obey to the maximum length parameter, textarea max length is not considered and I can enter a string of any length (unless the description is no longer applicable and the limit is only for textbox).
Tried with these options:

Regular expression: A-Z0-9-
Maximum length: 30 and 32
Minimum post count: 0
Display order: 4
Required: no
Show on registration: yes
Display on profile: no
Display on postbit: no
Viewable by: Administrators
Editable by: Registered, Administrators, Awaiting Activation

Thank you in advance.
Best regards

Angelo
You should be able to control the amount of characters that can be entered in the regex field.

\A([a-z0-9]{$min, $max})\Z/is

Replace $min and $max with the values.
Yes, it seems that work, thank you very much.