Testing flex form: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Tag: Blanking
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<form action="email" id="TfacsSubmission" no_submit_on_return mwreturn="Thank you for your submission!" >
<_email template="SubmissionEmailTemplate"></_email>
<_create mwwrite="Admin:{{CURRENTTIMESTAMP}} [firstname] [lastname]" mwtemplate="Submission" />
{| class="smwtable-clean th-top-right border"
|-
! <label for="firstname">Name {{r|*}}</label>
| <input style="width: 50%;" type="text" name="firstname" placeholder="first name" required="required" />
<input style="width: 50%;" type="text" name="lastname" placeholder="last name" required="required" />
|-
! <label for="birthdate">Date of birth {{r|*}}</label>
| <input type="date" name="birthdate" value="{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}" min="1900-01-01" max="2999-12-31" required="required" />
|-
! <label for="birthcountry">Country of birth {{r|*}}</label>
| <select name="birthcountry" selected="" placeholder="select" options="{{ListOfCountries}}" />
|-
! <label for="street">Address {{r|*}}</label>
| <input style="width: 100%;" type="text" name="street" placeholder="street address" required="required" /><br>
<input style="width: 100%;" type="text" name="street2" placeholder="address line 2" /><br>
<input style="width: 50%;" type="text" name="city" placeholder="city" required="required" /><input style="width: 50%;" type="text" name="stateprov" placeholder="state / province" /><br>
<input style="width: 50%;" type="text" name="postalcode" placeholder="zip/postal code" required="required" /><select style="width: 50%;" name="country" selected="" options="{{ListOfCountries}}" required="required" />
|-
! <label for="email">Contact {{r|*}}</label>
| <input style="width: 100%;" type="email" name="email" placeholder="email" required="required" />
<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.
<!-- |-
! <label for="fileupload">Upload file {{r|*}}</label>
| <input type="file" action="upload" target="[firstname]_[lastname]_-_Test.pdf" id="TestFileUpload" name="fileupload" accept="application/pdf" parsecontent />
{{r|PDF ONLY!}} -->
|}


<input type="submit" value="submit" />
</form>{{#widget:FlexForm.css}}

Latest revision as of 07:46, 2 May 2024