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.
How can I add line breaks in the 'conditions' output for textareaAsked by autoequip on August 22, 2014 at 12:33 PM
I have a form with conditions. If dropdown A is selected, I would like the textarea below to be populated with a list of items, in bullet format, or even by line. Currently the 'conditions' corrects each entry into one continuous line, example below.
If A is selected in the dropdown, the textarea ideally would look like this.
But no matter what I do the conditions changes it to
How can this be fixed?
The only way I can find to do this, is to actually add spaces until your information appears where you want it. Here is my cloned version of your form so you can see what I mean:
If you select the first option, the options appear the way you would like them to. But for the equation it just looks something like this:
option1 option2 option3
Let us know if this works for you and if it doesn't we will see what else we can come up with.
Thank you for using JotForm!
Thanks that looks good, however I don't think it will work. There is one additional step I left out.
When the data is loaded into the form, and the user clicks submit, I will be passing along the field data into a webpage. Basically I am creating an easy to use Craiglist ad generator. The employee here selects the product, it loads in the data, clicks 'send' and it will give us the raw HTML to easily post to Craigslist.
If we use spaces when we post the HTML it will not work since it will not word wrap from line to line.
Does that make sense?
The full HTML does not work with the conditions. Can you try it? It does not populate....
I can't find a workaround for this. Maybe, add the full HTML to the result instead of just the text. That should do it.