Skip to main content
About the Resource Center

Validation property

Validation ensures that the agent entered properly formatted text. When focus leaves the text input box, Genesys Cloud tests the text value to ensure it conforms to the selected validation rule. If the text fails to pass validation, borders turn red to indicate a validation problem with the text.

Use the drop list to select a validation method:

  • Select—allows you to select a preset validation pattern:

    EmailInput must conform to email address syntax.
    AlphabeticAllow alphabetic input only (no numbers)
    Alphabetic – With SpacesAllow alphabetic input only and require spaces between words. For example, “cool beans” is acceptable but “cool_beans” is not.
    Alphabetic – with UnderscoresRequire alphabetic input only (no numbers) and underscores between words. For example, “cool_beans” is acceptable but “cool beans” is not.
    AlphanumericText input must contain both letters and numbers.
    Alphanumeric – With SpacesText input must contain both letters and numbers with words separated by spaces.
    Alphanumeric – With UnderscoresText input must contain both letters and numbers with words separated by underscores.
  • Custom—allows you to select a string variable. For example, you can have the string variable be the regex and then use that variable on multiple pages to keep the validation the same. For more information on the custom validation method, see Text input script component.