What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Carriage Return in Update/Calculate Field's Output box

    Asked by MaidCrew on April 24, 2016 at 10:14 AM

    Hello... is there a way to insert a carriage return within the info/data that you want to render within an Update/Calculate rule.

    I wish to update a field's output to show someone's secondary contact person if they indicate one. I created an empty text box with the rule to update content/output to render the secondary contact person's info (name, email & phone) but when I set up the "Do" box within the update rule, I'm only able to render it in a straight line:

    Secondary Contact: Joe Schmoe joeschmoe@gmail.com 804-555-5555

    What I'd like to do is have the output within the update/format box to allow for a carriage return so that it renders as:

    Secondary Contact:

    Joe Schmoe

    joeschmoe@gmail.com

    804-555-5555

    (without the paragraph line spacing though)

    Is this possible?

    Thanks,

    Shawn

    calculate field format Update/Calculate Carriage Return Update Format
  • Profile Image

    Answered by Carina on April 24, 2016 at 11:45 AM

    Please let us know the form's url so we can inspect this mater further.

    If I understood correctly your requirement, you would like to add a condition, so that several fields are displayed in different lines in the same text box field. 

    Text box fields are single lined, so it is advisable to use instead the Text Area fields, which allow multi-lines.

    Then, inside the condition you can add <br/> that creates a line break. You can test and clone the demo form:

    https://form.jotform.com/61144726657965 

    Let us know if we can assist you further.