Valid e-mail address request

Home Forum General Valid e-mail address request

This topic contains 2 replies, has 0 voices, and was last updated by  jrubadue 8 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #548

    jrubadue
    Participant

    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

    #5398

    jrubadue
    Participant

    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.

    #5399

    MABrown
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.