Is there a way to block role-based emails?

  • transpay
    Asked on August 7, 2015 at 8:26 PM

    I'm looking for a way to prevent users from submitting role-based emails, such as emails starting with:

    info@

    contact@

    orders@

    support@

    admin@

    webmaster@

    Is there a way for me to do this through jotform?

  • Ben
    Replied on August 8, 2015 at 3:29 AM

    Yes, it is quite simple to do as well.

    To do that, all you should do is to check the start of the email field, but let me show it through example:

    http://form.jotformpro.com/form/52191618863966

    The way that this is achieved is by adding an email field and a Text element that will be used as a warning on the form.

    Then we simply set up the conditions to match if the email starts with any of the above, like so:

    Is there a way to block role based emails? Image 1 Screenshot 20

    And that is it :)

    Do test it out and let us know what you think :)

  • transpay
    Replied on August 9, 2015 at 5:46 PM

    Hi Ben,

    Thanks for your help. However I followed your instructions and found no success. Here were my steps.

    1. Using a long list of role-based strings, I created a rule to show the message if any emails began with any of those strings. Is there a way to block role based emails? Image 1 Screenshot 30

    2. Then I duplicated the rule and wrote if the string DOESN'T start with those strings, to hide the error message and show submit.

    Is there a way to block role based emails? Image 2 Screenshot 41

    When the form live (page 3), the message did not show. The URL of my form is http://form.jotform.us/form/51846609083158.

  • abajan Jotform Support
    Replied on August 9, 2015 at 9:31 PM

    There's no need for the second set of conditional rules. Removing them will resolve the issue.

    Should you encounter further problems with this or anything else JotForm related, we'd be happy to help.

    Cheers

  • transpay
    Replied on August 10, 2015 at 4:45 PM

    thanks!

  • abajan Jotform Support
    Replied on August 10, 2015 at 5:50 PM

    Glad we could help. Do let us know if there's anything else with which you need assistance.