I'm using Interwoven 4.5.1 content management templating on solaris 5.7. In the template there is a text area. The regex validation on this text area needs to be 60 chars long for each line. There can be any number of lines in the text area but each line should be 60 chars max.
As per the manual:
• validation-regex: Uses regex(5) syntax to set validation criteria for text entered by a user.
I have tried using the following without any luck:
<textarea cols="87" required="f" rows="12" rtf="f" wrap="on" validation-regex="^(.{0,60}\n)*$"/>
The regex for a single line works when I do this:
validation-regex="^.{0,60}$"
But for multiple lines, with a validation of 60 chars max for each line doesn't work when I do the following:
validation-regex="^(.{0,60}\n)*$"
Can you please help.
Thanks
JK
Edited by jk8 on 12/05/02 07:43 AM (server time).