Patron edition form is big and contains several sections : Patron identity, Main address ... Some of them are often unused so user may want to fold/unfold it to ease edition.
Created attachment 99755 [details] Screenshot I've managed to add this behavior with JS customisation. === $(document).ready(function() { if ($('#pat_memberentrygen').size()) { // Prepare $("fieldset").children("legend") .addClass("bl-autorepli") .append(' <i class="fa fa-caret-down"><i class="fa fa-caret-right" style="display:none">'); // Onclick $("fieldset legend.bl-autorepli").on("click", function() { $(this).siblings("ol,table").toggle(); $(this).children("i.fa").toggle(); }); // Hide by default $("fieldset#memberentry_address, fieldset#memberentry_altaddress").children("legend.bl-autorepli").click(); } }); === Needs rework. Feel free to propose a patch.
I wonder if this should be considered a duplicate of Bug 3137?
Indeed looks a lot like it, thanks a lot Owen *** This bug has been marked as a duplicate of bug 3137 ***