Keep sections collapsed in backend

By: Jim Michels | Asked: 12/13/2022
ForumsCategory: General questionsKeep sections collapsed in backend
Jim MichelsJim Michels asked 2 years ago
Hello, In the back-end, I have a lot of sections in my form, with checkbox "Collapsible" on. Every time I go to the form to make a change, all sections are open. Although I closed them (collapsed) last time I saved. Is there a way to make ALL sections collapsed when I start editing a form? Thank you, Jim  
1 Answers
Victor Font answered 2 years ago
This is exactly what I do with the Formidable Masterminds Developers Directory registration form. It needs to be done with jQuery. On my form here, https://formidable-masterminds.com/developers-directory-registration/, it works as a toggle. I load the form with the first section open, then all subsequent sections will open and close everything else, leaving one section open at a time. This is a link to the code I use in that form.You'll have to modify it for your purposes. https://pastebin.com/bw4Yae20

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right