Limit Text Field!!

bharathi_reddy

12-02-2015

Hi Team ,

I have text filed which will allow user to enter 826 character and re-add the available character count back to each control I want to restrict the user to enter values after character count reaches to zero .Let me know how to achieve this.

Following script is written on the change event of the textfield.

var  val1= TextField1.rawValue.

var len = val1.length;

var count= 826-len;

TextField2.rawValue = count;

Now i have to restrict teh user to enter value after character count reaches to zero.

Thanks,

Bharathi

Accepted Solutions (1)

Accepted Solutions (1)

_Bruce_Robertson

MVP

12-02-2015

Hi Bharathi,

In the Field tab of the Object palette of TextField1 there will be a limit length and max chars options, you should be able to use those.

Regards

Bruce

Answers (0)