- runjitchandraAsked on January 09, 2014 at 09:55 AM
We are trying to have only Government employees use the form, and having a valid .gov email address is the best way to do this. Is that possible?
- JotForm SupportWelvinAnswered on January 09, 2014 at 11:40 AM
Unfortunately, not in our form builder. You can only use general email validation such as when you use our Email field. There have been a few solution around the web for this specific type of validation but didn't try it before. Will try to come up for a possible solution and get back to you. No time guaranteed for this since this is custom workaround :)
- runjitchandraAnswered on January 09, 2014 at 11:42 AM
If you can do it, it would be great, but take your time. I am sure that this a feature that a lot of people would like. Get it right the first time. :-D
- zkhanseoAnswered on January 09, 2014 at 12:17 PM
Yes, by using the conditions option, you can check whether the email address field contains particular string or not. By using this you can customize your form's action.
Also you can block the non official email service providers such as GMAIL,YAHOO,AOL,MSN etc.. by setting "Disallow Free Addresses" to YES in email address field properties.
you may use this for creating a condition.
Here if the email address contains .gov and it is valid one then the submit field will be displayed
- JotForm SupportWelvinAnswered on January 09, 2014 at 12:34 PM
Wow! That's smart way @zkhanseo. I didn't think of that, was missing that method. Thanks for the heads up. That's greatly appreciated.
Only that, I would suggest using the conditional logic as <ends with> rule then <show> action method:
Example Form: http://www.jotformpro.com/form/40084173082953.