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

    I need to wrap a section of the form in a div.

    Asked by edisonfordinsure on October 15, 2012 at 09:04 AM

    I have setup conditions for the 'required cover' check boxes at the top so that for example, 'Residential Let' is ticked, it will show 2 other different fields. when I paste the source code into the web page, it works perfectly. However, when I wrap the 'requied cover' section in a div, the conditions do not work. 

    Is there a way of getting around this? 



    Page URL:

  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 15, 2012 at 09:28 AM


    It is supposed to work, as long as you have wrapped the codes correctly. A form field is technically a list (li), so the div tags should encompass the start and end tags for that field list.

    Check out this link for reference: http://screencast.com/t/S9dvWECaJ

    If followed correctly, your form conditions should work just fine. If it still doesn't, please provide the URL of the page where the form is embedded so we can check further.


  • Profile Image

    Answered by edisonfordinsure on October 15, 2012 at 09:49 AM


    I have found the issue, you were right in saying that the divs won't affect anything. The actual issue was because I was removing the label for 'required cover' (I was putting a h2 tag instead of that).

    Thanks for the reply!