Testing flex form: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
No edit summary
Tag: Manual revert
((by SublimeText.Mediawiker))
Line 1: Line 1:
<form action="email" id="TfacsSubmission" enctype="multipart/form-data"><!-- no_submit_on_return mwreturn="Thank you for your submission!" -->
<form action="email" id="TfacsSubmission" 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" /> -->
<_create mwwrite="Admin:{{CURRENTTIMESTAMP}} [firstname] [lastname]" mwtemplate="Submission" />
{| class="smwtable-clean th-top-right border"
{| class="smwtable-clean th-top-right border"
|-
|-
Line 7: Line 7:
| <input style="width: 50%;" type="text" name="firstname" placeholder="first name" required="required" />
| <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" />
<input style="width: 50%;" type="text" name="lastname" placeholder="last name" required="required" />
<!-- |-
|-
! <label for="birthdate">Date of birth {{r|*}}</label>
! <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" />
| <input type="date" name="birthdate" value="{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}" min="1900-01-01" max="2999-12-31" required="required" />
Line 23: Line 23:
| <input style="width: 100%;" type="email" name="email" placeholder="email" required="required" />
| <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>
<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.
|-
<!-- |-
! <label for="fileupload">Upload file {{r|*}}</label>
! <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 />
| <input type="file" action="upload" target="[firstname]_[lastname]_-_Test.pdf" id="TestFileUpload" name="fileupload" accept="application/pdf" parsecontent />
{{r|PDF ONLY!}}
{{r|PDF ONLY!}} -->
|}
|}


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

Revision as of 09:37, 24 April 2024