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

  • Profile Image
    akrishnamo
    Asked 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?

  • Profile Image
    BJoanna
    Answered 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.