Form:Fields test: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
{{{info|page name = Written by <Fields test[author 2]>, created on {{CURRENTDAY}}/{{CURRENTMONTH}}/{{CURRENTYEAR}}.}}}
{{{info|page name = Written by <Fields test[author 2]>, created on {{CURRENTDAY}}/{{CURRENTMONTH}}/{{CURRENTYEAR}}.}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Fields test|multiple}}}
{{{for template|Fields test}}}
'''Author:''' {{{field|author|input type=text|default={{#if:{{#urlget:hello}}|hello|not hello}}|size=30}}}
'''Author:''' {{{field|author|input type=text|default={{#if:{{#urlget:hello}}|hello|not hello}}|size=30}}}


Line 36: Line 36:
'''Email:''' {{{field|email|input type=radiobutton|values=a@b.c, d@ė.f, ampersand & test, <tag> test, &lt;tag&gt; 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, &lt;tag&gt; test 2|show on select=a@b.c=>abcdiv|default=a@b.c|mandatory}}}'''


'''Is nice:''' {{{field|is nice|input type=checkbox|default=No|show on select=Nice}}}
'''Is nice:''' {{{field|is nice|input type=checkbox|default=No|show on select=Nice;Nice2}}}


<div id="Nice">Yay, nice!</div>
<div id="Nice">Yay, nice!</div>
<div id="Nice2">Yay, nice 2!</div>


'''Wears a hat:''' {{{field|wears a hat|input type=checkbox}}}
'''Wears a hat:''' {{{field|wears a hat|input type=checkbox}}}

Revision as of 16:44, November 19, 2015

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: