Form:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Make numeric fields regexp with number restrictions)
m (it didn't work)
Line 12: Line 12:
{| class="formtable"
{| class="formtable"
! Length min:  
! Length min:  
| {{{field|length min|input type=regexp|regexp=/^[0-9]+$/}}}
| {{{field|length min|input type=regexp|regexp=/^\d*$/|message=Only numbers!}}}
|-
|-
! Length max:  
! Length max:  
| {{{field|length max|input type=regexp|regexp=/^[0-9]+$/}}}
| {{{field|length max|input type=regexp|regexp=/^\d*$/|message=Only numbers!}}}
|-
|-
! Trail page needs:  
! Trail page needs:  

Revision as of 10:19, 1 December 2016

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