Testing flex form: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker)) Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<form action="email" id="TfacsSubmission" enctype="multipart/form-data"> | <form action="email" id="TfacsSubmission" enctype="multipart/form-data"><!-- no_submit_on_return mwreturn="Thank you for your submission!" --> | ||
<_email template="SubmissionEmailTemplate"></_email> | <_email template="SubmissionEmailTemplate"></_email> | ||
<!-- <_create mwwrite="Admin:{{CURRENTTIMESTAMP}} [firstname] [lastname]" mwtemplate="Submission" /> --> | |||
<input type="text" name="firstname" placeholder="first name" required="required" /> | {| class="smwtable-clean th-top-right border" | ||
<input type="text" name="lastname" placeholder="last name" required="required" /> | |- | ||
<input type="file" action="upload" target="[firstname]_[lastname]_-_Test.pdf" id="TestFileUpload" name="fileupload" accept="application/pdf" parsecontent /> | ! <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" /> | <input type="submit" value="submit" /> | ||
</form> | </form> | ||
<!-- {{#widget:FlexForm.css}} --> |
Revision as of 09:36, 24 April 2024
Please log in first.