(restore to before having country added as multiple)
(multiple instances of Country now allowed and getting regions from country)
Line 20: Line 20:
|-
|-
! Country:  
! Country:  
| {{{field|Country|list|input type=tokens|cargo table=Country|cargo field=Country|existing values only|restricted}}}
| {{{field|Country|holds template|restricted}}}
|-
|}
{{{end template}}}
 
{{{for template|Country|multiple|embed in field=PostForm[Country]}}}
{| class="formtable"
! Country:
| {{{field|Country|input type=combobox}}}
! Region:  
! Region:  
| {{{field|Region|input type=tokens|cargo table=Country|cargo field=Regions|existing values only|restricted}}}
| {{{field|Regions|input type=combobox|values dependent on=Country[Country]}}}
|}
|}
{{{end template}}}
{{{end template}}}
</includeonly>
</includeonly>

Revision as of 15:31, 27 September 2021

This is the "PostForm" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.