Restrict Form Text Area to a max 200 charcters?

How do I restrict Form Text Area to a maximum of 200 charcters?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Answering4uAntConnect With a Mentor Commented:
Sorry my error, maxlength doesn't work on textarea.
Try the link below, it has a counter and also alerts are XX characters have been entered, this should acheive what you require
maxlength = 200
petewinterAuthor Commented:
Does that mean the code should like this: <textarea name="why" cols="45" rows="5" id="why" maxlength="200"></textarea>

As I can still type more than 200 characters?
petewinterAuthor Commented:
Many Thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.