Template:Search/Checkbox
From Metabolomics.JP
(Difference between revisions)
Line 1: | Line 1: | ||
− | <noinclude>Easy creation of CheckBox in FORM method: </noinclude>{{{1|Description}}} {{{2|value}}}{{#formtag:input|type="checkbox" name="{{{3|name}}}" value="{{{2|value}}}" {{#if: {{#indexof:{{#get:{{{3|name}}}}}|{{{2|value}}}}} | checked="yes"}} }} | + | <noinclude>Easy creation of CheckBox in FORM method: </noinclude>{{#formtag:label|for="{{{1}}}"|{{{1|Description}}} {{{2|value}}}}}{{#formtag:input|type="checkbox" name="{{{3|name}}}" value="{{{2|value}}}" id="{{{1}}}" {{#if: {{#indexof:{{#get:{{{3|name}}}}}|{{{2|value}}}}} | checked="yes"}} }} |
Revision as of 11:16, 26 January 2009
Easy creation of CheckBox in FORM method: