Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.66 KB

devenv-charallowed-property.md

File metadata and controls

39 lines (29 loc) · 1.66 KB
title description ms.author ms.date ms.topic author ms.reviewer
CharAllowed Property
Sets the range of characters the user can enter into this field or control.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

CharAllowed Property

Version: Available or changed with runtime version 1.0.

Sets the range of characters the user can enter into this field or control.

Applies to

  • Table Field
  • Page Field

Syntax

CharAllowed = 'AZ';

Remarks

If you want users to only enter uppercase letters in this field, enter AZ. This ensures that only uppercase characters in the range of A-Z are accepted. If you want both uppercase and lowercase characters, leave this value blank.

You can specify multiple ranges of characters by entering the parameters in pairs. For example, a value of admpzz indicates that only the following characters are accepted: a, b, c, d, m, n, o, p, and z. If you only want to allow a single character, then enter that character twice to specify a starting and ending range.

The setting for the field is checked during validation. Validation occurs only if the field or control value is updated through the UI, for example, if a value is updated on a page or if a field is updated in a table directly. If a field is updated through application code, then the CharAllowed property is not validated.

See Also

Properties