Max nb of characters in text area

Patrick Doyon (patrickd@technomedia.ca)
Mon, 21 Jul 1997 13:55:45 -0400


Message-ID: <9151E288B3BCD011B43400400539A488CFA9@SIMBA>
From: Patrick Doyon <patrickd@technomedia.ca>
To: www-html@w3.org
Subject: Max nb of characters in text area
Date: Mon, 21 Jul 1997 13:55:45 -0400

Hi, 

I'm building some sort of a "Guest Book" for our web site and, due
to database constraints, we want to restrict the user to enter a 
message NO LONGER THAN 250 characters. How do I do this in HTML3.2?

I know about the MAXLENGTH attribute of the <INPUT> tag, but
I couldn't find the equivalent for the <TEXTAREA> element. Can this
be done at all in HTML, or do I have to use Javascript, or even Java?

Can anyone out there help me?

Patrick Doyon
patrickd@technomedia.ca