HTML tags present in Long Text field

  • Profile Image
    Asked on July 21, 2021 at 07:01 AM

    How do we take text with paragraphs & dot points from a long text box within the jotform and display it without the text having any predisposed html?

    For example - we submitted a long text box with multiple lines of text (at each div) and it displays this (screenshot below). We have also tried copy and paste but have had no luck.

    Any advice would be much appreciated :)

    Many thanks! 

  • Profile Image
    Answered on July 21, 2021 at 11:35 AM


    I was unable to find the form that your screenshot is from - could you please specify the form in question?

    Is your issue that plain text (without these tags) input into the Long Text field shows up with the HTML tags, as depicted in the screenshot?

    If so, where are you seeing this result? Is it in the Notification Email, the Submissions Table, or the PDF Document?

    Or, are you trying to do the reverse and paste HTML code into the Long Text field?

    Awaiting your response,

    Thank you!

  • Profile Image
    Answered on July 22, 2021 at 09:27 PM

    Hi Michal,

    Yes, it is the latter! The html tags appear on our website no matter what the text is when we put it into the long text field of the form.

    Essentially we are trying to take the long text form input, and put it directly on a site.

    Any help would be much appreciated!

    Best regards

  • Profile Image
    Answered on July 23, 2021 at 06:13 AM

    Hi there!

    Can you please send us the information asked below so we can further investigate?

    1. The URL of the form where the long text is captured from
    2. Where is the text being put to? A CRM? A database perhaps? If you could be more specific, that'd be great.
    3. Is this only happening on long text fields or happening to any fields?

    We'll be waiting for your response.

  • Profile Image
    Answered on July 23, 2021 at 10:31 PM

    The text is being stored in a DB, specifically mongodb, (Please note, that this only occurs for this particular long text field and for no


    While writing text, we press enter to create a new paragraph


    1627093947_60fb7bbbc724b_Job descp.png

    Response in DB:

    Hello this is the form]r

    <div>trying to see if copy and paste workst;/div>

    <div>We would like to use dot points</div>

    It then displays the text like this on our website.

    Is there any way we could resolve this?

  • Profile Image
    Answered on July 24, 2021 at 06:13 AM

    Please turn off this option in the Long Text field's settings under General


    We'll be waiting for your response.

  • Profile Image
    Answered on July 24, 2021 at 08:26 PM

    Thank you Billy! It works from our end now. You're a legend!