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

    How to hide HTML / text from Preview Before Submit widget?

    Asked by akrishnamo on October 19, 2015 at 10:36 PM

    Say that I have a form with some HTML/text and an input box

    e.g. http://www.jotform.com//?formID=52918378056465

     

    If I use the Preview Widget, I see the Text as part of the preview. Is there any way to not include the HTML/text in the preview i.e. only the user input field should be seen in the preview?  

     

    The label for the HTML / text is the entire text itself (which can be 2 pages long), so it doesn't seem like a good way to use it to hide the field from preview.

     

    Is there any other way to accomplish this?

    Page URL:
    http://www.jotform.com//?formID=52918378056465

    Screenshot
    preview how JotForm label www
  • Profile Image
    JotForm Support

    Answered by BJoanna on October 20, 2015 at 04:12 AM

    Thank you for contacting us.

    You can remove headers from Preview Before Submit widget by setting Show Title option to NO inside of Preview Before Submit widget settings.

    There is no option to hide text fields in Preview Before Submit widget, but you can hide text field by Injecting Custom CSS: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    I have cloned your form and added this CSS code to hide text field from Preview Before Submit widget:

    #previewContainer li > div.value.no-label {

    display: none!important;

    }

    Here is my cloned form: https://form.jotform.com/52921985438972? 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.