Timeline for Change formset default from collapsed to exanded?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2016 at 21:10 | comment | added | BHammond | An update: The above function worked, but in the end it proved easier to use JQuery to alter the element class rather than a PHP function. | |
Oct 7, 2016 at 17:17 | comment | added | BHammond | Okay, will do. Thanks for the very helpful advice (on the hook, and on posting etiquette). | |
Oct 7, 2016 at 17:02 | vote | accept | BHammond | ||
Oct 6, 2016 at 4:58 | comment | added | Shawn Conn | It's a different since it's not a form. Please that as a new question. We try to keep chatter to a minimum and focus on 1 question per post to make it more utilizable as a knowledge base. | |
Oct 5, 2016 at 20:55 | comment | added | BHammond | Thanks very much--This works for the support ticket form, when you are editing a support ticket. But how can I make it work when you're just viewing a support ticket, where the form being displayed is comment-form rather than support-ticket-node-form? I see how to target the form ID, but don't see the in the support ticket module where the correct element is stored. | |
Oct 4, 2016 at 18:27 | comment | added | Shawn Conn | Good suggestion, updated. | |
Oct 4, 2016 at 18:27 | history | edited | Shawn Conn | CC BY-SA 3.0 |
add alternative
|
Oct 4, 2016 at 11:19 | comment | added | David Thomas |
Just noting, OP may prefer to set the #collapsed property to false, to preserve the collapsable fieldset functionality.
|
|
Oct 4, 2016 at 4:12 | history | answered | Shawn Conn | CC BY-SA 3.0 |