Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Umbraco people
I need to limit the max chars on a textarea, can anybody point me how to do this?
it will be much appreciated
Antonio
Hi Antonio,
Under additional Settings you can make use of Regex to limit number of characters
^([A-Z][a-zA-Z]{1, 29})$
Here min is 1 and max 29
Hi Fuji,
Thanks for replying,
for some reason the reg exp. reports error when starting to write,
any idea why?
http://screencast.com/t/9XAOEQ9pg5OM
thanks much for the help
the problem was related to special characters like commas, etc.
thanks for the help
Try this instead
^[A-Z][a-zA-Z]{1,29}$
Comment author was deleted
Or just update the maxlenght on the textarea view http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Contour text area max chars
Hi Umbraco people
I need to limit the max chars on a textarea, can anybody point me how to do this?
it will be much appreciated
Antonio
Hi Antonio,
Under additional Settings you can make use of Regex to limit number of characters
^([A-Z][a-zA-Z]{1, 29})$
Here min is 1 and max 29
Hi Fuji,
Thanks for replying,
for some reason the reg exp. reports error when starting to write,
any idea why?
http://screencast.com/t/9XAOEQ9pg5OM
thanks much for the help
Antonio
the problem was related to special characters like commas, etc.
thanks for the help
Antonio
Try this instead
^[A-Z][a-zA-Z]{1,29}$
Comment author was deleted
Or just update the maxlenght on the textarea view http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/
is working on a reply...