Adding a mandatory number entry in the address field

Hi, I’m using the Gravity wizz perk of address autocomplete. However, I’d like to make it mandatory for users to add a housenumber in the field where they add their street address. So if they don’t add a number to the field, the form can be sent. Any ideas on which script/regex I should add to the function file for this?

You would need to create your own custom code to validate the data entered into the input. Once you have the validation code ready, you can integrate it with Gravity Forms validation for the field using the following filter: gform_field_validation - Gravity Forms Documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.