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

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

    Form: 

    http://form.jotformeu.com/form/22883331289359?

  • Profile Image
    NeilVicente
    Answered on October 15, 2012 at 09:28 AM

    Hello,

    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.

    Thanks!

  • Profile Image
    edisonfordinsure
    Answered on October 15, 2012 at 09:49 AM

    Hello,

    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!