We have implemented the max limit property of text box through JavaScript
validations.

JavaScript code is something like this:

if (document.pgEvent.tbCorrectiveAction.value.length > 400)
{//Check if Corrective Action field exceeds 400 characters
        alert("The Corrective Action cannot exceed 400 characters");
        document.pgEvent.tbCorrectiveAction.focus();
        return false;
}


Regards,
-Krupesha


-----Original Message-----
From: Troy Mckinnon [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 09, 1999 10:46 PM
To: 'Ram S Kumar';
[EMAIL PROTECTED]
Subject: Re: [ND] Test Box Size - Upper Limit Check


Has anyone else worked on this.
We had the same problem... 
i.e. netdynamics validation does not work for min / max lengths of text
areas.

We had to do custom validation to make it work.

Troy

Troy McKinnon
Technical Team Leader
Integrated Quality Management System
Nortel Networks - GHCT  (Dept. 1J11)
(613) 765-7685  or  ESN (395) 7685

> -----Original Message-----
> From: Ram S Kumar [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, August 06, 1999 7:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      [ND] Test Box Size - Upper Limit Check
> 
> I have a wrap around text box with the following properties 
> set. But lets user enter more than 512 character. How to stop 
> the data entry when it reaches 512? 
> 
> ExtraHTMLText.... warp=hard
> Number of lines.. 4
> Maximum Length... 512
> Size............. 102
> Format Enabled ... False
> 
> --------------------------------------------------------
> Name: Ram S Kumar
> E-mail: Ram S Kumar <[EMAIL PROTECTED]>
> Date: 08/06/99
> Time: 15:05:05
> 
> --------------------------------------------------------
> 
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to