you can limit them to how many characters they type...
function TextMaxLength(evt, field)
{
charCode = evt.keyCode;
if (field.length > 75)
{
return false;
}
}
<TEXTAREA NAME="notes" ROWS="3" COLS="30" WRAP="HARD" onKeyPress="return
TextMaxLength(event, document.formName.textArea.value);"></TEXTAREA>
-----Original Message-----
From: Nick Varner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 1:32 PM
To: CF-Talk
Subject: textarea
Since there is not a cftextarea, how do I through up an alert in javascript
telling the user they have entered to many characters in a textarea. I know
this is off subject but any help would be appreciated.
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists