Add a fieldset or a 'grouping' facility (ability to add a div around some elements)

  • Profile Image
    DavidBNM
    Asked on August 28, 2015 at 09:44 AM
    Is there any update on this? Having a fieldset or at least a 'grouping' facility (just being able to add a div around some elements) would be a really useful addition. Especially from the perspective of being able to hook CSS onto certain elements.
  • Profile Image
    Boris
    Answered on August 28, 2015 at 10:02 AM

    If you wish to group elements under a single container, please try using our Form Collapse tool.

    If you set its Status to Open, and Visibility to Hidden, the form collapse will not be visible by users - but all its elements will be visible and will be grouped under another UL element with the ID of #section_##.

    Here is an image of the structure, I have marked where the Form Collapse is:

    Form Collapse will automatically hold all elements that are underneath it in the Form Builder. To end the Form Collapse section, you can add another Form Collapse where you wish to end it (and set it as Open and Hidden as well), or you can add a Page Break.

    In other words, either another Form Collapse or a Page Break will make your sectioned part end.

    When it comes to adding CSS, you can easily inject CSS to your forms.

    I hope this helps. Please let us know if you need further assistance, and we will be happy to help.

  • Profile Image
    DavidBNM
    Answered on August 28, 2015 at 10:34 AM

    I can see that you could achieve some sort of grouping like this but it's very counter intuitive and it's really fiddly to get the form elements in the right place.

    It would be great if JotForms implemented an actual grouping facility in their forms but until then I'll have to download the source code.

    Thanks for trying.

  • Profile Image
    Boris
    Answered on August 28, 2015 at 11:49 AM

    You are welcome, I'm sorry that the workaround wasn't more intuitive.

    I have raised this thread as a feature request to our developers, for possible inclusion in the future. Having another thread requesting fieldsets / field grouping also allows our developers to see that there is additional interest in this feature, though we can't give you any estimates about when or if this may be implemented.

    We will let you know through this thread when such a feature is available.

    Until such a time that fieldsets are available, yes, you would need to use the form's source code and add fieldsets manually.

    Kind regards.