Using regex in validation

In Aliveforms, text input can use regex for validations.


Add a input screen with type text

Set text input options

  • In Text input option, select custom regex
  • In regex textbox, type pattern
  • In invalid message text box, type the message you want to display on wrong input.


We want user to enter


type this in regex.


and set invalid message

Please enter in format abc-123-123


It is recommeneded to use "Required" parameter when using custom regex.