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

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

    Asked by DavidBNM 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
    JotForm Support

    Answered by Boris 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

    Answered by DavidBNM 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
    JotForm Support

    Answered by Boris 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.