Copy link to clipboard
Copied
I am setting up a form that has a comments section. The comments section consist of multiple boxes (font size and font set) to ensure the text doesn't change so that it stays over the lines in form design. I want to take the entire text from all box fields and copy to one individual box on a separate page. I am sure this will require script of some sort, can anyone help me to do this?
These boxes:
to this box:
Sure, it can be done using a script. Let's say the individual fields are called Comment1, Comment2, Comment3 etc.
Use this code as the custom calculation script of the multiline field where you want to show the combined value:
event.value = this.getField("Comment1").valueAsString + "\n" + this.getField("Comment2").valueAsString+ "\n" + this.getField("Comment3").valueAsString;
Copy link to clipboard
Copied
Sure, it can be done using a script. Let's say the individual fields are called Comment1, Comment2, Comment3 etc.
Use this code as the custom calculation script of the multiline field where you want to show the combined value:
event.value = this.getField("Comment1").valueAsString + "\n" + this.getField("Comment2").valueAsString+ "\n" + this.getField("Comment3").valueAsString;
Copy link to clipboard
Copied
thank you
Copy link to clipboard
Copied
Combine multiple texr fields into one was also helpful
Find more inspiration, events, and resources on the new Adobe Community
Explore Now