What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Is there a way to block role-based emails?Asked by transpay on August 07, 2015 at 08:26 PM
I'm looking for a way to prevent users from submitting role-based emails, such as emails starting with:
Is there a way for me to do this through jotform?
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:
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:
And that is it :)
Do test it out and let us know what you think :)
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.
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.
When the form live (page 3), the message did not show. The URL of my form is http://form.jotform.us/form/51846609083158.
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.
Glad we could help. Do let us know if there's anything else with which you need assistance.