Bulk Add Conditionals to Notifications


I am trying to setup a couple of notifications based on the zip code entered and I am wondering if there is a way to add them in bulk? I know I can add them one by one but there are about 1500 zip codes that I need to add. Any help would be greatly appreciated.

There is no bulk way to add conditions for notifications. If you have just a few notifications, I recommend using the gform_notification filter to create some rules on which notification to use based in the ZIP code which is entered. The codes would not be added to the form in conditional logic settings. You could keep them in the code, or retrieve them from a file or the database to compare in your code.

You will need to create some PHP to accomplish it in this way.

Thanks Chris! I did look over this before and I think it might work. Just not sure where I am supposed to put the code?

Once you create the code to go with the gform_notification filter, you will add that to your theme functions.php file or a custom functionality plugin if you are using one.