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

    Conditions - not showing fields properly

    Asked by jdjackson7 on October 14, 2014 at 05:39 PM

    Hi,  I have a form to collect a comment. The only field I want to initially show is the first field. It is a check box field with only one option that says "Make a comment".  I have conditions set to show the other fields only when the check box is checked.  It all works except that it also hides that first field.

    http://qr8.us/jotform-testing/comment.html

    What am I doing wrong?

    Thanks for your help

    Page URL:
    http://qr8.us/jotform-testing/comment.html

    JotForm check checked thanks
  • Profile Image

    Answered by raul on October 14, 2014 at 07:34 PM

    Hi,

    It looks like your form works correctly when it's viewed from its direct link

    Also, I have looked at the source code of your HTML page and noticed that you're using a table to embed the form.

    Please try to embed the form within a div tag instead. So, your HTML code would look like this:

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <div id="myjotform">
    <script type="text/javascript" src="//form.jotformpro.com/jsform/42866404618965"></script>
    </div>
    </body>
    </html>

    The div will adjust its width and heigth of the form and it should be displayed properly.

    Please give it a try and let us know if this works for you.

    Thanks.