We are currently overriding the standard GF form action with an external URL, to which our various form fields are posted. This works fine, but as it completely bypasses the GF form processing, it doesn’t save a copy of the form submission and doesn’t send any form notifications. Does anyone know of a way of capturing the form data so it can be sent to an email address after the form action has posted the data (or even just before if that’s easier)?
If you use the gform_form_tag filter to override the form action, Gravity Forms no longer validates or processes the submission, as you have found.
It is usually preferable to let Gravity Forms perform the validation and handle the submission, then send the data wherever you need using the gform_after_submission hook or the Webhooks Add-On. Are either of those an option for you?
Thanks for the feedback. I think you’re right, it’s going to be a lot easier to rework this using one of those methods than it is to keep struggling on with the current setup. I’ll take a look into them - thanks.