Testing flex form: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 23: Line 23:
<input style="width: 100%;" type="tel" id="phone" name="telephone" placeholder="phone number" required="required" /><br>
<input style="width: 100%;" type="tel" id="phone" name="telephone" placeholder="phone number" required="required" /><br>
Include [https://en.wikipedia.org/wiki/List_of_country_calling_codes#Ordered_by_code an international code] if applicable.
Include [https://en.wikipedia.org/wiki/List_of_country_calling_codes#Ordered_by_code an international code] if applicable.
|-
! Create an account
| <input type="text" name="username" placeholder="username" />
<_createuser username="[username]" email="[email]" realname="[firstname] [lastname]" />
|}
|}


<input type="submit" value="submit" />
<input type="submit" value="submit" />
</form>{{#widget:FlexForm.css}}
</form>{{#widget:FlexForm.css}}
Account creation can be done automatically upon submit with API js gadget, by using first and last name fields for username, password can be randomized, email can be pulled from form also.

Revision as of 08:41, 7 February 2024



Account creation can be done automatically upon submit with API js gadget, by using first and last name fields for username, password can be randomized, email can be pulled from form also.