Copy link to clipboard
Copied
I am trying to figure out how to do this one last task for my document but I'm a little baffled being new to JS, but I have mastered how to auto populate a text field from a drop down box! Yeah!!
Now I just need to figure out how to auto populate to my text fields from a check box, then I'll be done woo hoo
When the user ticks a check box (named 'Check box Sweeper 1') I would like the number '2' to auto populate to a text field named 'SSPHR1'.
I will have 12 check boxes named differently that will need to do the same thing...
When the user ticks the next check box (named 'Check box Sweeper 2') the number '2' will auto populate to the text field named 'SSPHR2 etc
I'm pretty sure I have to put the script in the 'Custom calculation script' in the 'SSPHR1', 'SSPHR2' etc text fields, but I'm not sure the script I would use. Also, would I need to change anything in the Check box Sweeper fields?
Thank you!!
Copy link to clipboard
Copied
I did it!