Form:Fields test: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) No edit summary |
||
Line 50: | Line 50: | ||
'''Email:''' {{{field|email|input type=radiobutton|values=a@b.c, d@ė.f, ampersand & test, <tag> test 2|show on select=a@b.c=>abcdiv|default=a@b.c|mandatory}}}''' | '''Email:''' {{{field|email|input type=radiobutton|values=a@b.c, d@ė.f, ampersand & test, <tag> test 2|show on select=a@b.c=>abcdiv|default=a@b.c|mandatory}}}''' | ||
{| | {| | ||
! style="vertical-align: bottom;" | Is nice: | ! style="vertical-align: bottom;" | Is nice: | ||
Line 56: | Line 55: | ||
|} | |} | ||
<div id="Nice">Yay, nice! | <div id="Nice">Yay, nice! | ||
Here's a datepicker: {{{field|date 1|input type=datepicker|mandatory}}} | Here's a datepicker: {{{field|date 1|input type=datepicker|mandatory}}} | ||
...and here's a datetimepicker: {{{field|date 2|input type=datetimepicker|mandatory}}} | ...and here's a datetimepicker: {{{field|date 2|input type=datetimepicker|mandatory}}} | ||
</div> | </div> | ||
{| | {| | ||
! style="vertical-align: bottom;" | Wears a hat: | ! style="vertical-align: bottom;" | Wears a hat: | ||
| {{{field|wears a hat|input type=checkbox}}} | | {{{field|wears a hat|input type=checkbox}}} | ||
|} | |} | ||
'''Hard-coded tree test:''' {{{field|not in template|input type=tree|structure= | '''Hard-coded tree test:''' {{{field|not in template|input type=tree|structure= | ||
* Item 1 | * Item 1 |
Revision as of 17:15, September 20, 2023
This is the 'Fields test' form; edit the page to see the source code. Enter the name of the page you want to add here: