Hi!
Is there a way to make a required field with a required text value, pretty much like the number field's range value? My registration form needs a required invitation/promo code.
Hi!
Is there a way to make a required field with a required text value, pretty much like the number field's range value? My registration form needs a required invitation/promo code.
This isn't a built in feature in any of the fields, but it's possible to create your own functionality like this.
There is an API hook called gform_validation that you can use to write your own custom validation for a field. You can find documentation for this hook here:
http://www.gravityhelp.com/documentation/page/Gform_validation
There is also a tutorial on how to write custom validation in a tutorial here:
http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook
Wow! I can't believe I haven't found that sooner. Thanks for the quick response. : )
thanks for the tip