This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > Textarea





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Textarea
xcoldnet

2005-03-31, 6:42 pm

How do you limit the number of characters to be accepted by a textarea? I
have set the number of columns to 25, and the lines to 5. I am expecting the
cursor of the users to stop when they reach 125 charachters but instead a
scroll bar on the right of the textarea appears and the users can enter as many
characters as they wants! I don't need this. How do I stop the cursor after 125
characters? Thank you, Dario

ladyluna

2005-03-31, 6:42 pm

I think you have to have your type set to multi-line in the properties inspector.
xcoldnet

2005-03-31, 6:42 pm

Thanks for your reply, but this is not the solution as the problem it is not
that I have a single-line textarea and I wish to have a multi-line textarea.
I do have a multi-line textarea but I want to limit the number of characters a
user can enter there. If the textarea is set to single-line and I set the max
char in the property inspector as, let say, 10... there is no way you can enter
more than 10 characters in that single-line text area. which is fine. but...
how can I achieve the same control on the number of charcters entered into a
multi-line textarea? Dario

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews