Validating email domain on webform

Options
Dominik_704810
Dominik_704810 Posts: 7
edited February 2020 in Show and Tell

If you want to make sure that only a user with a certain email domain can submit a webform, add the below RegEx as a field validation, just replace catalytic.com with your desired domain:

\w+([-+.']\w+)*@(catalytic.com)

Comments

  • Kevin_579059
    Options

    This is really useful for a webform in that it adds a slight form of "security" to the form. For my bot, the end result is that the bot emails the webform user with an answer. If a "fake user" (i.e. someone outside of the domain address) gets their hands on the webform URL, the answer would never be emailed to them, it can only be emailed within the company.