PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Allow to collapse the section breaks

  1. deukdesign
    Member

    It would be great if we could collapse the section breaks
    just like we can collapse individual fields
    allowing to dissapear all the fields within the break
    it would allow for easier visual editing of very large forms

    thanks

    Posted 13 years ago on Monday March 21, 2011 | Permalink
  2. Its almost like you they need a section container.

    Would be cool if the code looked like this...

    (http://i52.tinypic.com/2rw5av8.jpg)

    Then using jquery/css you could collapse the li using a custom class.

    At the moment the section breaks are just li's so I guess it would be tricky or impossible to get the li's below a specific section to collapse.

    I'm no developer and don't have any understanding of form build, so this may be totally impossible to do anyways, but just a thought :-)

    Posted 13 years ago on Monday March 28, 2011 | Permalink
  3. You could use the inline HTML blocks to wrap content in fieldsets or divs if you want. You have to be a little creative with the markup & placement but it's not difficult to do. Here's a post that details how I added fieldset containers to a form.. you should be able to modify that slightly for divs instead.

    http://www.gravityhelp.com/forums/topic/fieldsets#post-17019

    Of course, you could even use the HTML blocks to create another nested list inside the original list element if you want.. it's really up to you.

    Once you've done that, you should be able to target the new container element and collapse/expand it as desired with jQuery.

    Posted 13 years ago on Monday March 28, 2011 | Permalink
  4. This fully is the perfect solution! I gotta start thinking outside the box! Thanks a bunch Kevin!

    Posted 13 years ago on Monday March 28, 2011 | Permalink
  5. You're very welcome. Gravity Forms can do a lot if you just put your creative hat on and give it hell.

    Posted 13 years ago on Tuesday March 29, 2011 | Permalink

This topic has been resolved and has been closed to new replies.