Gravity Form Email Validation by Domain


Needed to allow ONLY email addresses from a specific client domain to be entered into a Gravity Form.

NOTES: Form ID = 2, Field ID = 9
Used strtoupper to allow as well as DOMAIN.COM.

Here’s the validation script:


Leave a Reply

Your email address will not be published. Required fields are marked *