I want to create a registration form but I want to set a restriction so that only people who live in areas with PostCode e.g N1, N2 and N3 and register. Is this possible to customise Gravity Form to do this and How.
Thanks
I want to create a registration form but I want to set a restriction so that only people who live in areas with PostCode e.g N1, N2 and N3 and register. Is this possible to customise Gravity Form to do this and How.
Thanks
Yes, you can do this. You would use the build in gform_validation filter to check the submitted values against a list of valid values, and if there is a match, let the submission through, otherwise, return a validation error that says "Only people who live in the following postcodes may register: N1, N2, N3."
It can be done fairly easily with functions that are already present in Gravity Forms.