Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92406

Re: Disable checkboxes when a text box is greater than...

$
0
0

The basic code to use is this:

 

if (+this.getField("TextField").value > 10) {

    this.getField("CB1").readonly = true;

}

 

However, you still need to check if the check-box is selected or not... And you need to write a reverse script that changes the box back to editable when the value is lower than 10.


Viewing all articles
Browse latest Browse all 92406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>