Skip to main content
June 2, 2022
Solved

Validate SSN

  • June 2, 2022
  • 12 replies
  • 0 views

How to validate ssn in appian? format should be ###-##-####

    Best answer by laurensw425805

    Without going ahead and creating the expression for you - I suggest creating an expression rule that checks the text value on length, structure (certain character types at certain indexes) using text functions, and returns a boolean output always.

    12 replies

    June 2, 2022

    Without going ahead and creating the expression for you - I suggest creating an expression rule that checks the text value on length, structure (certain character types at certain indexes) using text functions, and returns a boolean output always.

    stefanhelzle0001
    Brainy
    June 2, 2022

    I think this would be a good case for the regular expression plugin.

    June 2, 2022

    can we use regex in a!textfield()

    mikes0011
    Brainy
    June 2, 2022

    You can use regex pattern matching in any place you'd use other expression logic.  In this case, Stefan is referring to using it in the text field's "validations" parameter.

    The Expression Guru