« Formulaire:Bug » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « <noinclude>This form is used to demo how the placedholder text does not appear when the field is used within a show on select option. {{#formlink:form=Token placeholder er… ») Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(7 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude>This form is used to demo how the placedholder text does not appear when the field is used within a show on select option. | <noinclude>This form is used to demo how the placedholder text does not appear when the field is used within a show on select option. | ||
{{#formlink:form= | {{#formlink:form=Bug|link text=View test form|link type=button|new window}} | ||
[[Category:Admin (forms)]]</noinclude> | [[Category:Admin (forms)]]</noinclude> | ||
<includeonly> | <includeonly> | ||
Ligne 6 : | Ligne 6 : | ||
{|class=wikitable | {|class=wikitable | ||
!Select an option | !Select an option | ||
|{{{field|option|input type=radiobutton|values=A,B|default=A|show on select=A=>optionA;B=>optionB}}} | |{{{field|option|input type=radiobutton|values=A,B|default=A|mandatory|show on select=A=>optionA;B=>optionB}}} | ||
| | | | ||
<div id=optionA>The placeholder text is visible here, because the field is visible when the form opens:<br>{{{field|OptA|input type=tokens|values=one, two, three, four, five|placeholder=A multiple selections allowed.}}}</div> | <div id=optionA>The placeholder text is visible here, because the field is visible when the form opens:<br>{{{field|OptA|input type=tokens|values=one, two, three, four, five|placeholder=A multiple selections allowed.}}}</div> |
Dernière version du 22 juillet 2021 à 15:25
This form is used to demo how the placedholder text does not appear when the field is used within a show on select option.