How can I make Gravity Forms not accept email addresses with gmail.com, yahoo.com, hotmail.com, etc? Thanks!
How can I make Gravity Forms not accept email addresses with gmail.com, yahoo.com, hotmail.com, etc? Thanks!
You can use the gform_validation filter and return an error is your email field contains any of those domains.
http://www.gravityhelp.com/documentation/page/Gform_validation
Great, guess its good a time as ever to dig into the GF API :)
The gform_validation hook is not difficult to use. The regex you use to filter out certain domains will be more complex :-) If you need help or get stuck just let us know.