Difference between revisions of "Form:Portal"

From Earth Science Information Partners (ESIP)
m (1 revision imported: Portal help update)
 
(3 intermediate revisions by 2 users not shown)
Line 36: Line 36:
 
   |field={{{field
 
   |field={{{field
 
|Portal tagline
 
|Portal tagline
|class=form-control mb-1
+
|class=form-control my-1
 
}}}
 
}}}
 
}}
 
}}
Line 67: Line 67:
 
|Portal blocks
 
|Portal blocks
 
|input type=checkboxes
 
|input type=checkboxes
|values=Events, News, Resources
+
|values=News, Events, Resources, GoogleDocs
 
}}}
 
}}}
 
}}
 
}}
Line 119: Line 119:
 
|list
 
|list
 
|delimiter=;
 
|delimiter=;
|class=form-control mt-2
+
|class=form-control mt-1
 
}}}
 
}}}
 
}}
 
}}
 
{{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=tokens
+
|input type=regexp
|values from property=Has phone
+
|regexp={{Tel regexp}}
 
|list
 
|list
 
|delimiter=;
 
|delimiter=;
 
|class=form-control
 
|class=form-control
 +
|placeholder=000-000-0000
 
}}}
 
}}}
 
}}
 
}}

Latest revision as of 16:07, December 30, 2020