gravityforms chart
gravityforms chart
gravityforms chart
gravity form merge multiple records with the same id
Gravity Forms data to SOAP Service says Could not connect to host
I believe this code (as is) will never call your post_to_third_party function. The add_action hook needs to reference that function like so: add_action(“gform_after_submission_5”, “post_to_third_party”, 10, 2); Hope that helps, have fun!
You can just put something like the following into your template file where you want the form to appear (example of a form called Contact Us): gravity_form(‘Contact Us’, false, false, false, ”, false); For more info on the false etc, see here: http://www.gravityhelp.com/documentation/page/Embedding_A_Form
Okay, the gform_after_submission filter uses $form to get data from specific fields. However, the gform_confirmation filter uses $lead to get data from specific fields
Not a direct answer to your question but if the goal is anti-spam or anti-bot protection, simply use the built-in honeypot from Gravity Forms. https://www.gravityhelp.com/documentation/article/form-settings/ Otherwise, I believe you want the gform_pre_render hook. This is executed before the form is displayed and can be used to manipulate the form object directly. More info on Gravity … Read more
Yes, you are attempting to use the field key parameter which only means anything to ACF itself, it doesn’t mean anything to the actual connection between Gravity Forms and the Custom Field property. That’s what the field name is before. It’s usually the lowercase, underscored version of your field title. “Business phone” becomes business_phone usually. … Read more
Ok Figured it out with a bit of tinkering with the above. Might not be ideal but it works. If someone has a better way of doing it please feel free to chip in explaining why its better 🙂 $gravity_form_id = ’10’; // Gravity Forms ID add_action(“gform_after_submission_$gravity_form_id”, “gravity_post_submission”, 10, 2); function gravity_post_submission ($entry, $form){ $post_id … Read more
Here is my rough idea. You might need to save the order status as Custom field value or Custom Taxonomy term. As you know, GF supports Hook and actions; gform_after_submittion might help in this case. In the action, you can read the tracking number, then run the query, then return the value to the form.