Answered
script to auto populate one text field with other text fields on separate lines
Can you please help me with a script to auto populate Text9 with Text1, Text2, and Text3 on thier own seperate lines?
Can you please help me with a script to auto populate Text9 with Text1, Text2, and Text3 on thier own seperate lines?
Then you can use something like this as the custom calculation script of "Text9":
var fields = ["Text1", "Text2", "Text3"];
var values = [];
for (var i in fields) {
var f = this.getField(fields[i]);
if (f.valueAsString!="") values.push(f.valueAsString);
}
event.value = values.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.