Chief Alchemist - Business Consulting For The 21st Century Via A Holistic & Intelligent Approach
Share RSS 2.0 feed for Sign up for the mailing list. Follow Chief Alchemist on Twitter. 'Like' the Chief Alchemist's page on Facebook. See what Chief Alchemist has been Q&A'ing on Quora. Chief Alchemist bookmarks & highlights on Follow the Chief Alchemist on Chief Alchemist channel on Chief Alchemist on Flickr. Mark 'Chief Alchemist' Simchock on LinkedIn. Free Initial Consultation. Email Chief Alchemist. Phone Chief Alchemist.
  • Mark ‘Chief Alchemist’ Simchock
  • 'Email me.Email => ca .at. ChiefAlchemist .dot. com
  • 'Phone me.Alchemy United => 732 997-0028
  • Free initial consultation.Free => Initial Consultation
  • Please be sure to subscribe to your communication channels of choice.
  • Click To Close => The small green (consultation), red (email) or blue (phone) icons in the top upper right.
Business Consulting For The 21st Century Via A Holistic & Intelligent Approach

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.

Will not be published. Required.
Please include http://