Difference between revisions of "Form:Test"

From OSGeo
Jump to navigation Jump to search
m (testing forms)
 
m (testing forms)
 
Line 1: Line 1:
{{{info|add title=Add an opinion item|edit title=Edit an opinion item}}}
+
<noinclude>
 +
This is the 'Item' form. Enter the name of the opinion item you want to add here. If an opinion item with that name already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.
 +
 
 +
{{#forminput:Item|25||Add or edit opinion item|}}
 +
</noinclude><includeonly>{{{info|add title=Add an opinion item|edit title=Edit an opinion item}}}
 
{{{for template|Item}}}
 
{{{for template|Item}}}
 
{| class="formtable"
 
{| class="formtable"
! Author:
+
! Author(s):
| {{{field|author|mandatory}}}
+
| {{{field|author|mandatory|remote autocompletion}}}
 
|-
 
|-
 
! Source:
 
! Source:
Line 28: Line 32:
  
 
{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
 
{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
'''Item name:''' {{{field|1|autocomplete on category=Items}}}
+
'''Item name:''' {{{field|1|autocomplete on=Items|remote autocompletion}}}
 
{{{end template}}}
 
{{{end template}}}
  
Line 41: Line 45:
  
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 +
</includeonly>

Latest revision as of 08:48, 3 January 2009

This is the 'Item' form. Enter the name of the opinion item you want to add here. If an opinion item with that name already exists on this site, you will be sent to the form for editing that page; otherwise, you will be sent to the form for adding the page.