PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Post Code Restriction, limitation

  1. 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

    Posted 12 years ago on Tuesday January 3, 2012 | Permalink
  2. 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.

    Posted 12 years ago on Tuesday January 3, 2012 | Permalink