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

    Problem with XMP tag in Thank You page

    Asked by mingo3369 on June 08, 2012 at 11:11 AM

    I posted a question about using Jotform to create html code, in my case email signatures, by formatting a custom thank you page to display the code.  This works except that instead of displaying the raw code for users to copy and paste, it processes the html and shows the signature.

    I found an html tag <xmp> that I can insert before the <html tag that displays the code perfeclty when I open the file directly in chrome.

    However, when I use the same tag in my thank you page a <p> tag is added on every line rendering the code unusable.

    Anyone have any ideas on how I could use the <xmp> tag to generate the code on the thankyou page without getting all the <p> tags added too?

  • Profile Image
    JotForm Support

    Answered by abajan on June 08, 2012 at 01:40 PM

    Part of the problem may be that the xmp tag has been deprecated since 1995. But I'll need to check if its alternatives (pre and code) are viable options in this instance.

  • Profile Image

    Answered by mingo3369 on June 12, 2012 at 11:40 AM

    Any progress from support on this?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 12, 2012 at 05:57 PM


    If your sole purpose for using the xmp tags is to just display HTML codes inside the Thank You page, here's a working solution:

    Convert your codes into their ASCII character equivalents using this free tool I found over the net:


    Then, paste the ASCII-converted codes onto your Thank You page's html source.

    For example, this ASCII converted text:

    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;

    is displayed in the form's Thank You message as:

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


    Hope you find this information useful.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 13, 2012 at 07:39 AM


    Please disregard the post above. For some reason, I failed to do an extensive test before posting that solution. Apparently, the codes are displayed as is in the Thank You message editor but not in the actual Thank You page after submittting the form.

    We will try to exhaust all means to find a real working solution, but we cannot guarantee anything. Thank you very much for your understanding.

  • Profile Image
    JotForm Support

    Answered by abajan on June 13, 2012 at 05:52 PM

    Eureka! If the paragraph tags insist on being there, let them! The trick is to place the first angled bracket of the HTML code between span tags.

    Submit this form and have a look at the thank you message. Clone the form to see how the message was coded. (I had entered actual angled brackets while editing the thank you message. It's the wizard that converted them to their ASCII equivalents. But that doesn't really matter.)