https://bugzilla.wikimedia.org/show_bug.cgi?id=28313
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinklem...@gmail.com --- Comment #3 from Krinkle <krinklem...@gmail.com> 2011-04-11 23:04:49 UTC --- (In reply to comment #1) > <optgroup> can be specified: > > array( > 'message text' => 'value', > 'other text' => other value, > 'optgroup label' => array( > 'label text' => 'a value', > 'another label' => false, > ), > ); > there is also nowhere to put the message text There can also be arrays of arrays. Numerical keys. No problem afaic: $formFields = array( array( 'label' => 'message text', 'val' => 'valuehere', ), array( 'label' => 'other text', 'val' => 'other value', ), array( 'label' => 'other text', // same label 'val' => 'yet another value', ), array( 'label' => 'my optgroup', 'val' => array( 'One' => 'choise1', 'Two' => 'choise2', ), ); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l