Answered
Concatenate checkboxes
I have 5 checkboxes "Check Box1-5" that needs to fill in multi-line text field with their export value when any is checked. Any help is appreciated.
I have 5 checkboxes "Check Box1-5" that needs to fill in multi-line text field with their export value when any is checked. Any help is appreciated.
Use this as custom calculation script of text field:
var array = [];
for (var i=1; i<=5; i++) {
var checkbox = this.getField("Check Box"+i).valueAsString;
if(checkbox !== "Off")
array.push(checkbox);}
event.value = array.join("\n");Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.