• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Creating line breaks in a field that collects data from other fields

Explorer ,
Jan 29, 2021 Jan 29, 2021

Copy link to clipboard

Copied

I have a project coming up where a client wants to be able to create a script with parts the user fills in from form fields or checks boxes to select questions to include. I understand how to use Java to collect the data from multiple fields and insert into a separate field and include the script text in between the user-inputed answers, but is it possible to add line breaks in this separate field between paragraphs and questions? The goal is for users to copy/paste back out of the field and be able to throw their script in an email or survey tool, so if there is a better way to accomplish this, I'm also open to hearing it!

TOPICS
JavaScript , PDF forms

Views

120

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 29, 2021 Jan 29, 2021

Copy link to clipboard

Copied

LATEST

To add a line-break to a field use this escape character in your code: "\n"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines