How can I add line breaks to the Calculation Values field

  • Profile Image
    Asked 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
    Answered 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: 

    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: 

    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.