What is the most efficient way to require that the email address entered in a field uses a specific domain name? ie, I would like everyone that uses my form to enter an email address that reads (yourname)@yahoo.com
What is the most efficient way to require that the email address entered in a field uses a specific domain name? ie, I would like everyone that uses my form to enter an email address that reads (yourname)@yahoo.com
Tooling around a bit I found a solution that works for me. I set the format of the Text Input box as "Email" and added a behavior to "text input loses focus." My behavior is a simple branch with a search function using the desired domain name as my pattern with an empty true path and an error message for the false path.
If anyone has an easier way of doing this, please feel free to share.
You could always force the user to enter the email address without the domain. Add a text field followed by a label that reads "@yahoo.com".
Using brackets to represent the field, it would look something like:
[(yourname)]@yahoo.com