Difference between revisions of "Form:Portal"
From Earth Science Information Partners (ESIP)
Line 123: | Line 123: | ||
}} | }} | ||
{{form-row | {{form-row | ||
− | |label=Phone | + | |label={{#info: You can add many phone numbers. Use a semicolon as a delimiter. Allowed symbols are digits (10-11), hyphens and round brackets.<br>Valid patterns are:<br> |
+ | +0 (000) 000-0000 <br> | ||
+ | +0 000-000-0000 <br> | ||
+ | 000-000-0000<br> | ||
+ | 000 000 0000<br> | ||
+ | 0000000000<br> | ||
+ | If the country code is not specified, "+1" (USA) is assumed. | ||
+ | }} Phone | ||
|field={{{field | |field={{{field | ||
|Has phone | |Has phone | ||
− | |input type= | + | |input type=regexp |
− | | | + | |regexp={{Tel regexp}} |
|list | |list | ||
|delimiter=; | |delimiter=; | ||
|class=form-control | |class=form-control | ||
+ | |placeholder=000-000-0000 | ||
}}} | }}} | ||
}} | }} |