Important tip: WordPress and Gravity Forms
FYI => The short of it is, when using Gravity Forms with WordPress be sure to add your own HTML hidden field to each form and use that to define your own form id.
The issue is, the form id created by Gravity Forms is site + form specific, not fixed / universal. For example, let’s say you create two forms on your local machine: Contact Us and Request a Quote. You import them into two different sites (perhaps on your WordPress multisite network). On My Site 1 you import Contact Us first and Request a Quote second. Then on My Site 2 you have a human-ism and you import Request a Quote first and Contact Us second.
At this point, the bad news is, if your Gravity Forms’ filters and actions are form specific (as they probably are) you’re screwed. The GF form_id is going to be different so the depending on the site the wrong actions and filters will be running at the wrong time / form.
The work around, in addition to the hidden field is to use $_POST to look for your hidden name and value, and then make decisions (read: actions + filters) based on that.
The only downside (that I’m aware of) is that your hidden field – since it’s added to the form via Gravity Form’s HTML field type – won’t get stored in the GF entry tables. You could define a second GF hidden for that, if that matters to you. Probably not a bad idea, just make sure you keep both in sync.