I defined a form like this using the mw-collapsible capability to hide 2 of the form fields in the multiple occurring form:
{{{for template|Rating|label=Ratings for this book|multiple}}}
'''Username:''' {{{field|Rating username|size=20|default=current user|mandatory|values from namespace=User|remote autocompletion}}}
<div class="mw-collapsible mw-collapsed">
'''Rating:''' {{{field|Rating|mandatory|input type=dropdown|property=Has rating|values=1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0}}}<br/>
'''Blurb:''' (Wikitext allowed) {{{field|Rating blurb|size=80}}}<br/>
</div>
'''Timestamp:''' {{{field|Rating timestamp|default=now|input type=datetime|mandatory|restricted}}}<br/>
{{{end template}}}
This will work fine for already created form instances. However, when you add a new instance of the form it will display as collapsed and hitting [Expand] doesn't work.
I would guess that jQuery has to be notified that a new collapsible entity exists when it is added to the page?
Version: unspecified
Severity: normal