Record validation with regex


here is my first newbie question:

Is it possible to validate record entries via a specified regex pattern?
If yes – please give me a hint how to setup.

Thank you in advance,

Hi @alex! Welcome to the community.

I’d be happy to show you.

  1. Install the “Tadabase Text Utiltiy” pipe.

  2. Open a form where you want to add validation and add a new pipe:

  3. Add the Regex Checker and set all 4 Parameters:

Set the Regex to whatever regex value you wish. In my case, I’m testing to make sure that “Moe” is entered. (This is a simple example, you can achieve without regex, but trying to keep it simple here).

Next where setting the value to be checked, which is the form value of “Customer”

Finally, we can set a custom True and False response.

In the next part is where we create the actual validation.

If Regex Reponse is “Nope” show an error message. Otherwise, the form will submit successfully.

Here’s the final outcome when the regex fails:

Please let me know if you have any other questions.

1 Like

Hello moe,

perfect, thank you for the example! Works :slight_smile: