Sjabloon:Form aanmelden: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 14: Regel 14:
 
</pre>
 
</pre>
 
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted>
 
</noinclude><includeonly>{{#vardefine:@cols|6-6}}<wsform action="addToWiki" restrictions=lifted>
  <wscreate mwwrite="{{FULLPAGENAME}}" restrictions=lifted mwtemplate="Member" mwreturn="{{fullurl:{{SERVERNAME}}/Dank voor aanmelden}}"/>
+
<wscreate mwwrite="{{FULLPAGENAME}}" restrictions=lifted mwtemplate="Member" mwreturn="{{fullurl:{{SERVERNAME}}/Dank voor aanmelden}}"/>
 +
<wsfield type="hidden" name="Domein" value="{{SERVERNAME}}" />
 +
<wsfield type="hidden" name="Has been approved" value="{{{Has been approved|0}}}" />
 
{{Item responsive |Cols={{#var:@cols}}
 
{{Item responsive |Cols={{#var:@cols}}
 
|1=<wslabel>Email adres *:</wslabel>
 
|1=<wslabel>Email adres *:</wslabel>
Regel 45: Regel 47:
 
   <wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" />
 
   <wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" />
 
</wsform></includeonly>
 
</wsform></includeonly>
 +
 +
 +
<wsform action="addToWiki" restrictions=lifted mwreturn="//www.denhout.eu/index.php/Www.denhout.eu/Dank_voor_aanmelden" >
 +
  <wscreate mwwrite="{{SERVERNAME}}/Member/" mwoption="add_random" mwtemplate="Member" />
 +
  <wsfield type="hidden" name="Domein" value="{{SERVERNAME}}" />
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|1=<wslabel>Email adres *:</wslabel>
 +
|2=<wsfield name="Email address" type="text" id="email" value="{{{Email address|}}}" class="form-control row-formitemresponsive mb-3" required="required" />
 +
}}
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|1=<wslabel>Voornaam:</wslabel>
 +
|2=<wsfield name="First name" type="text" id="fname" value="{{{First name|}}}" class="form-control row-formitemresponsive mb-3" />
 +
}}
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|1=<wslabel>Naam:</wslabel>
 +
|2=<wsfield name="Last name" type="text" id="lname" value="{{{Last name|}}}" class="form-control row-formitemresponsive mb-3" />
 +
}}
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|1=<wslabel>Adres (voor gerichte mailings en vragen):</wslabel>
 +
|2=<wsfield name="Address" type="text" id="address" value="{{{Address|}}}" class="form-control row-formitemresponsive mb-3" placeholder="Straat + huisnummer"/>
 +
}}
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|2=<wsfield name="Postcode" type="text" id="postcode" value="{{{Postcode|}}}" class="form-control row-formitemresponsive mb-3"  placeholder="Postcode" /> <wsfield name="Woonplaats" type="text" id="woonplaats" value="{{{Woonplaats|}}}" class="form-control row-formitemresponsive mb-3"  placeholder="Woonplaats" />
 +
}}
 +
{{Item responsive |Cols={{#var:@cols}}
 +
|1=<wslabel>06 nummer (voor evt. Whatsapp berichten):</wslabel>
 +
|2=<wsfield name="Mobile phone" type="text" id="phone" value="{{{Mobile phone|}}}" class="form-control row-formitemresponsive mb-3" />
 +
}}
 +
{{Item responsive |Cols=10-2
 +
|1=<wslabel for="contribute-checkbox">Mee beslissen over de toekomst van Den Hout?<br>Mogen wij jou vragen stellen als er zaken zijn waarover wij de mening van de dorpsbewoners willen weten? *</wslabel>
 +
|2=<wsfield name="Wants to contribute" type="checkbox" value="1" id="contribute-checkbox" class="form-control row-formitemresponsive mb-3" />
 +
}}
 +
  <wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" />
 +
</wsform>
 +
*betekent: verplicht veld

Versie van 25 feb 2021 16:22


This is the "Form aanmelden" template. It should be called in the following format:

{{Form aanmelden
|Email address=
|First name=
|Last name=
|Address=
|Mobile phone=
|Wants to contribute=
}}


  • betekent: verplicht veld