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

    How can I add line breaks to the Calculation Values field

    Asked by Jake  on June 22, 2017 at 03:06 PM

    I am trying to build a form with a series of Yes/No questions that should result in a list of events (timeline). So as the user answers 'Yes' to a question, I want to populate multiple events into a list on the Thank You page. This task would be easier if it was one-to-one: "If question 1 equals yes, then show one event". But, I need it to work one-to-many: "If question 1 equals Yes, then show three events".

    In the "Calculation Value" field I could put 'Event 1, Event 2, Event 3' for 'Yes', but on the thank you page it keeps it all on one line. I want them in a list so each event should be on its own line. I tried 'Event 1<br>Event 2<br>Event 3' but that didnt work. Any help here? Is there another way to do this kind of logic?

  • Profile Image
    JotForm Support

    Answered by BJoanna on June 22, 2017 at 03:40 PM

    You can not use a space characters as "Calculation Value". 

    Instead of adding calculation values, you can use Update/Calculate conditional logic to update your other field if Yes option is selected. You should  also use Text field instead of Form Calculation widget for reception-events field. 

    You can set your conditions like this. 

    Conditional Logic Inserts Text/Calculation Into A Field

    Smart Forms Using Conditional Logic

    Here is my demo form: https://form.jotformpro.com/71725774980973 

    Feel free to test it an clone it

    I noticed that your form is created on guest account. Please note that guest accounts are limited to 10 submissions. Your guest account is already overlimit. I would suggest you to register and create Free account. You can use this link to signup: https://www.jotform.com/signup/ 

    Use same email address that you used to post your question here on forum and your form will be moved to your free account.

    With free account you can receive up to 100 submissions, per month. 

    Hope this will help. Let us know if you need further assistance.