Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Check box if numeric field equals set value

$
0
0

Newbie needs help!!

 

I am trying to write a script to check a box, but only after a numeric field adds up to "4"

 

If you look at my attached file, "Student 1" has four check boxes (Pre-Course Skills, course roster, etc.).  Each time those boxes are checked/unchecked, the numeric field + or - 1 from the rawValue.  The script that I'm having problems with is on the check box next to Student 1 ...

 

Here's the "calculate" script attached to that check box:

 

if (stu1_results.rawValue == 4) {

     CheckBox_stu1.rawValue == true; // Check the box

else {

     CheckBox_stu1.rawValue == false; // Un-check the box

}

 

Any advice would be awesome!!

 

Mike Schaefer

(blinkyguy)


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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