I'd like to require either a phone number or an email address on a form, but not necessarily both. It would be nice to have conditional logic that would require an entry on at least one field in a specified set of fields.
I'd like to require either a phone number or an email address on a form, but not necessarily both. It would be nice to have conditional logic that would require an entry on at least one field in a specified set of fields.
Would take a bit of coding, but you could probably use the Gform Validation filter to accomplish that.
Hmm. I'll give that a look. Thank you.
Did you figure out how to do this? I need this functionality
You could do this but only as a customization using the gform_validation hook as @Michelle mentioned above. There is a tutorial on the gform_validation hook here:
http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook
That tutorial isn't specific to this implementation, it's merely a tutorial with an example on how to use the gform_validation hook to implement custom validation. You would have to write custom code specific to your validation use case.
Your custom code would go in your themes functions.php file or you would create a custom plugin using your code and then activate it on your site.