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

How to disable a TextField base on other Checkboxes?

Avatar

Level 3

I want to disable this TextField based on what the user has checked previously on the Checkboxes. Will someone show me how this is done in Live Cycel Designer ES 8.2?

Thank you.

0 Replies

Avatar

Level 10

On the change event of the checkboxes and assuming that it has been setup using the defaults (0 is off and 1 is on), enter this javascript code:

if (this.rawValue == 1){

     TextFieldName.access = "readOnly"

} else {

     TextFieldName.access = "";

}

Paul