Form:Event: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Update regex again
Tag: Reverted
Don't capitalize mandatory in StartDate field
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
{| class="formtable"
{| class="formtable"
! Start date<span style="color:red">*</span>
! Start date<span style="color:red">*</span>
| {{{field|StartDate|input type=date|Mandatory}}}
| {{{field|StartDate|input type=date|mandatory}}}
|-
|-
! Start time<span style="color:red">*</span>
! Start time
| {{{field|StartTime|input type=regexp|regexp=/^([0-9]!0[0-9]!1[0-9]!2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|mandatory|message=Start time must follow HH:MM 24-hour format}}}<br><br>
| {{{field|StartTime|input type=regexp|regexp=/^([0-9]!0[0-9]!1[0-9]!2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|message=Start time must follow HH:MM 24-hour format}}}<br><br>
|-
|-
! End date
! End date
| {{{field|EndDate|input type=date}}}
| {{{field|EndDate|input type=date}}}
|-
|-
! End time<span style="color:red">*</span>
! End time
| {{{field|EndTime|input type=regexp|regexp=/^([0-9]!0[0-9]!1[0-9]!2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|mandatory|message=End time must follow HH:MM 24-hour format}}}<br><br>
| {{{field|EndTime|input type=regexp|regexp=/^([0-9]!0[0-9]!1[0-9]!2[0-3]):[0-5][0-9]$/|size=5|maxlength=5|placeholder=23:59|message=End time must follow HH:MM 24-hour format}}}<br><br>
|-
|-
! Location<span style="color:red">*</span>
! Location<span style="color:red">*</span>

Latest revision as of 22:09, 13 February 2025

This is the "Event" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.