Difference between revisions of "Form:Portal"

From Earth Science Information Partners (ESIP)
m (1 revision imported: Portal help update)
 
(7 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 46: Line 46:
 
|input type=textarea
 
|input type=textarea
 
|editor=visualeditor
 
|editor=visualeditor
|class=form-control mb-1
+
|class=form-control
 
}}}
 
}}}
 
}}
 
}}
Line 58: Line 58:
 
|delimiter=;
 
|delimiter=;
 
|max values=3
 
|max values=3
|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 97: Line 97:
 
|input type=tokens
 
|input type=tokens
 
|values from property=Role in committee
 
|values from property=Role in committee
 +
|list
 +
|delimiter=;
 
|class=form-control
 
|class=form-control
 
}}}
 
}}}
Line 115: Line 117:
 
|input type=tokens
 
|input type=tokens
 
|values from property=Has email
 
|values from property=Has email
|class=form-control
+
|list
 +
|delimiter=;
 +
|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
 +
|delimiter=;
 
|class=form-control
 
|class=form-control
 +
|placeholder=000-000-0000
 
}}}
 
}}}
 
}}
 
}}

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