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

    Is it possible to add html to the default value function of any fields?

    Asked by markashton on July 17, 2013 at 03:54 PM

    I would like to add the following html to a field - let's say a hidden field.

    I would like to fill the default value function with, let's say the following: 

    <img src="https://www.filepicker.io/api/file/PnUKg6s8RwmG0F5AZ0L9/convert?h=200">

    Why you may ask?

    I would like to display images in reports ... currently you can only display link and thumbnail - I'm interested whether a html report renders html as it is inputed.

    Can you advise me?

    Thanks Mark

  • Profile Image
    JotForm Support

    Answered by Mike_T on July 17, 2013 at 04:33 PM

    Yes, this is possible. However, the double quote symbol " should be replaced with html name &quot; to avoid html conflicts.

    The link for Default Value will be:

    <img src=&quot;https://www.filepicker.io/api/file/PnUKg6s8RwmG0F5AZ0L9/convert?h=200&quot;>

    HTML report:

    Thank you.