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

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven)
Regel 23: Regel 23:
 
   * 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 mwreturn="//{{{Domein|}}}{{localurl: {{{Return page|}}} }}" messageonsuccess="{{{Success message|}}}" >
 
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted mwreturn="//{{{Domein|}}}{{localurl: {{{Return page|}}} }}" messageonsuccess="{{{Success message|}}}" >
<wscreate mwwrite="{{#explode:{{{Target page|}}}|@@@@|0}}" mwoption="{{#explode:{{{Target page|}}}|@@@@|1}}" mwtemplate="Member" />
+
<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 32: 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)