Hi Abhimanyu, Wouldn't you do the validation the "struts" way? Do the validation, chop and warn.
-----Original Message----- From: Truong Xuan Tinh [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 12:47 PM To: Struts Users Mailing List Subject: Re: textarea You have to write a javascript function to check in the following event: onFocus, onChange and onKeyUp of the textarea. Regards, Abhimanyu Koul wrote: > how can i set the maximum number of chars in a textarea. i can only set columns and rows. > > Regards, > Abhimanyu Koul > FinEng Solutions (P) Ltd. > Mobile : +91 9819510090 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___________________________________________________________________________ This communication together with any attachments transmitted with it ('this E-mail') is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are notified that any use of this E-mail is prohibited. Addressees should check this E-mail for viruses. Mitsol (Pty) Ltd makes no representations as regards the absence of viruses in this E-mail. If you have received this E-mail in error please notify our IT Systems Team immediately by E-mail at [EMAIL PROTECTED] Please then immediately destroy this E-mail and any copies of it. ___________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]