Jump to content

Form:Incident: Difference between revisions

From Consumer Rights Wiki
Schang1146 (talk | contribs)
Add note to direct users on how to submit form
Schang1146 (talk | contribs)
Update date fields to text input type with regexp
Line 33: Line 33:
!rowspan="2"| Start Date:  
!rowspan="2"| Start Date:  
| {{{field|StartDate
| {{{field|StartDate
     |input type=datepicker
     |input type=regexp
    |regexp=/^\d{4}(-(0[1-9]!1[0-2])(-(0[1-9]![12][0-9]!3[01]))?)?$/
    |or char=!
   }}}
   }}}
|-
|-
Line 44: Line 46:
!rowspan="2"| End Date:  
!rowspan="2"| End Date:  
| {{{field|EndDate
| {{{field|EndDate
     |input type=datepicker
     |input type=regexp
    |regexp=/^\d{4}(-(0[1-9]!1[0-2])(-(0[1-9]![12][0-9]!3[01]))?)?$/
    |or char=!
   }}}
   }}}
|-
|-

Revision as of 23:20, 10 July 2025

This is the "Incident" 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.