Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Limit Text Field!!

bharathi_reddy
Level 3
Level 3

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

1 Accepted Solution
_Bruce_Robertson
Correct answer by
Level 10
Level 10

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

View solution in original post

1 Reply
_Bruce_Robertson
Correct answer by
Level 10
Level 10

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

View solution in original post