Add or Edit an Attribute Definition - Range (Text)

Description

Set restrictions on the characters that can be entered for an attribute definition.

Access

Home / Layer / Insert a new item or Edit the selected item / Attribute Definitions / Insert a new item or Edit the selected item / Range
Home / Tools / Layers / Manage Layers / New or Edit / Attribute Definitions / Insert a new item or Edit the selected item / Range

Requirements

None

Controls
Control Description
Allow empty values Select the checkbox to allow empty values to be assigned to the attribute.
Multiline Select the checkbox to allow multiple lines of text to be assigned to the attribute. When editing text attributes, click the Browse button to display the Edit Text window.
Maximum Length Type the maximum number of characters allowed for the attribute value.
Regular Expression Type a Regular Expression pattern to validate characters entered for the attribute value. (Optional)
Notes
  • Regular expressions are a powerful means of validating input for attribute values.
  • Regular expressions override Maximum Length and Allow empty values settings.
  • If Restrict to list is selected then Regular expressions are ignored.
Example

Typing the following for Regular Expression would restrict values to only alphanumeric characters separated by spaces, hyphens, underscores, commas, ampersands, and brackets.

[[:alnum:] \-_,&\(\)]+

Related topics

Top of page TOP OF PAGE