- pro2colgroupAsked on January 03, 2017 at 12:30 PM
I want to be able to exclude a number of email domains, not just the free ones that you have listed. How can I create a blacklist of emails that a user submitting on my form must not use?
I see that this question/feature has been posted many times over the years - I hope that you now have this available.
- JotForm SupportJanAnswered on January 03, 2017 at 02:20 PM
My understanding is that you want to block certain email domains. If that is correct, I would suggest you to use a condition wherein if the email contains @gmail.com, the submit button and the other fields will be hidden.
This demo form has a condition wherein if the email address entered in the field contains @gmail.com, @hotmail.com, @icloud.com then the Name, Phone Number and submit button fields will disappear.
Here's the result:
Hope that helps. Thank you.
- pro2colgroupAnswered on January 03, 2017 at 05:40 PM
Whilst I can see that this works it doesn't look very professional and isn't something I'd want to implement on our site. Is there not a way of popping up a message to say 'that domain is not allowed'? Or something similar?
- JotForm SupportliyamAnswered on January 04, 2017 at 12:15 AM
There is no option to run a pop-up on the form once an error appears. So the best solution I could think of is by showing a text which you can further modify it's layout to make it look better, and hide the submit button in order to prevent the person from pressing submit.
Here's a sample of the form with the function described: https://form.jotform.com/70025981054957
If you think you would like this concept or if you have something else in mind, please let us know.