Adds a field for a text with text type as either Simple Text or HTML/Richtext.
- For Simple Text, enter the optional Validation for Regular Expression. This verifies that an input is correctly formed. The following sample patterns are available for common validation expressions.
| Pattern | Regular Expression | Example |
|---|---|---|
^$|\b([A-Za-z0-9'_\.-]+)@([\dA-Za-z\.-]+)\.([A-Za-z\.]{2,6})\b
|
mail@example.com | |
| IP Address |
^$|^([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$
|
1.1.1.1 |
| North American Phone |
^$|\b\d{3}[-.]?\d{3}[-.]?\d{4}\b
|
555-123-4678 |
| Internal Url |
^$|\b(http(s)?:\/\/){1}([\da-z\.-]+)([\/\w \.-]*)*\/?\b
|
http://example.com |
| Public Url |
^$|\b(http(s)?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w
\.-]*)*\/?\b
|
example.com |
| US Zip Code |
^(\d{5}(?:\-\d{4})?)$
|
12345-6789 |
Creating your own regular expressions is also an option. For assistance in building these expressions, consider using an online regular expression builder. The Regular Expression Test String field allows for testing of the regular expression. The text entered in this field is checked against the pattern, and it will display either Pass or Fail, depending on whether the test pattern is valid.
Tip: To establish a character limit, input a
Maximum Length. If this field empty, the system will
apply no limit by default. Generally, this should not lead to any problems; however,
if users will need to enter values with a significant number of characters, it is
advisable to utilize the HTML/Richtext field type.
- For HTML/Richtext, enter the styled text in the provided
Default Value area. The field can contain HTML styling,
such as bold, italic or underlined text, and elements such as bullet and numbered
lists. When working with numbered or bullet lists, use the Tab key and Backspace key
to increase or decrease the level of an item within the list. To add an
image:
- Click the Image button.
- Navigate to the image that you want to upload.
- Click Save.