Sjabloon:Www.denhout.eu/Form member: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(12 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
  
This is the "www.denhout.eu/Form member" template. It should be called in the following format:
+
  This is the "www.denhout.eu/Form member" template. It should be called in the following format:
  
 
<pre>
 
<pre>
Regel 7: Regel 7:
 
|Action=
 
|Action=
 
|Domein=
 
|Domein=
|Return page=(url)
 
 
|Email address=
 
|Email address=
 
|First name=
 
|First name=
Regel 18: Regel 17:
 
|Has been approved=
 
|Has been approved=
 
}}
 
}}
 +
 
</pre>
 
</pre>
 
The form should be used for the following actions regarding members:
 
The form should be used for the following actions regarding members:
 
   * Aanmelden (new member page will be created, member not approved)
 
   * Aanmelden (new member page will be created, member not approved)
 
   * Wijzigen (existing member page changed by member or admin)
 
   * Wijzigen (existing member page changed by member or admin)
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted messageonsuccess="{{{Messageonsuccess|}}}" >
+
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted mwreturn="//{{{Domein|}}}{{localurl: {{{Return page|}}} }}" messageonsuccess="{{{Success message|}}}" >
<wscreate mwwrite="{{{Mwwrite|}}}" mwoption="{{{Mwoption|}}}" mwtemplate="Member" mwreturn="{{{Mwreturn|}}}" />
+
<wscreate mwwrite="www.denhout.eu/Member" mwoption="add_random" mwtemplate="Member" />
 
 
 
<wsfield type="hidden" name="Domein" value="{{{Domein|}}}" />
 
<wsfield type="hidden" name="Domein" value="{{{Domein|}}}" />
 
<wsfield type="hidden" name="Has been approved" value="{{{Has been approved|}}}" />
 
<wsfield type="hidden" name="Has been approved" value="{{{Has been approved|}}}" />
Regel 33: Regel 32:
 
{{Item responsive |Cols={{#var:@cols}}
 
{{Item responsive |Cols={{#var:@cols}}
 
|1=<wslabel>Voornaam:</wslabel>
 
|1=<wslabel>Voornaam:</wslabel>
|2=<wsfield name="First name" type="text" id="fname" value="{{{First name|}}}" class="form-control row-formitemresponsive mb-3" />
+
|2=<wsfield name="First name" type="text" id="fname" value="{{{First name|}}}" class="form-control row-formitemresponsive mb-3" required="required"  />
 
}}
 
}}
 
{{Item responsive |Cols={{#var:@cols}}
 
{{Item responsive |Cols={{#var:@cols}}

Huidige versie van 11 okt 2022 om 17:47


 This is the "www.denhout.eu/Form member" template. It should be called in the following format:
{{www.denhout.eu/Form member
|Action=
|Domein=
|Email address=
|First name=
|Last name=
|Address=
|Postcode=
|Woonplaats=
|Mobile phone=
|Wants to contribute=
|Has been approved=
}}

The form should be used for the following actions regarding members:

 * Aanmelden (new member page will be created, member not approved)
 * Wijzigen (existing member page changed by member or admin)