gravity-forms-plugin

Gravity Forms API always 401

你离开我真会死。 提交于 2019-12-22 06:11:11
问题 I am trying to use the gravity forms rest api, https://www.gravityhelp.com/documentation/article/web-api/ but I receive a 401 error no matter what I try. I've tried using all the methods listed in the documentation and in Steven Henty's article, https://www.stevenhenty.com/gravity-forms-api/ but it doesn't seem to work. If I am logged into a wordpress site as administrator should I not be able to use a link like: http://mydomain/gravityformsapi/forms/ Thank you for any suggestions. 回答1: For

Count Checkboxes with Gravity Forms

三世轮回 提交于 2019-12-20 05:38:51
问题 I'm making a form that is for a summer camp registration form where users will be registering. By the end of the form there is an option of paying in full or making a $50 deposit for each camp selected. I'm using hidden products to handle the total amount per week and adding their value into the total. My question comes if I can use formulas to count the number of checkboxes that have been selected and do the calculations. Example: Week 1: Soccer camp Week 2: Computer camp Total: $100

wordpress gravity forms submit multiple times

为君一笑 提交于 2019-12-13 01:02:28
问题 I am using Gravity Forms with easy modal to allow the user to build an email distribution list for blog posts. I have it all wired up and working perfectly aside from the fact that I can't figure out how to completely disable the confirmation page after the form is submitted. The effect that I am looking for is that the user can enter an email address, submit the form (via ajax), and then have the form redraw so that a 2nd, 3rd, etc.. email address can be entered. Right now I have to

Gravity Forms adding display none

自作多情 提交于 2019-12-12 11:09:52
问题 I'm creating a custom template inside my WordPress theme, since my template is a completely different layout than my active theme, the template has it's own header & footer and inside of both I have properly declared wp_head(); and wp_footer(); respectively. Inside my template code, I am trying to display a gravity form using do_shortcode, but no form shows. When I inspect the area, I can see the form code, but there is a style="display:none" added to the .gform_wrapper div. As one more note,

Gravity Form is not submitting after client side validations

心不动则不痛 提交于 2019-12-12 05:44:59
问题 I am trying to put client side validation on the gravity forms. I am newbie to gravity forms, i researched and came to know gravity forms do not support client side validations. SO i decided to do it on my own. I used a validation library by jQuery, when the form is validated, it is not being submitted. I have the following code :- jQuery(document).ready(function(){ jQuery('#gform_49').validate({ // initialize the plugin rules: { input_7: { required: true, email: true }, input_8: { required:

Extract labels from serialized array using SQL

≯℡__Kan透↙ 提交于 2019-12-12 03:46:23
问题 I do not have control of how this data is stored (I know as normalized data would be better for sql), because it is saved via the WordPress GravityForms plugin. The plugin uses a serialized array to define the question id (field_id), question label (label). My goal is to extract these three values in the following format: field_id label 1 1. I know my organization’s mission (what it is trying to accomplish). 2 2. I know my organization’s vision (where it is trying to go in the future). Here

js error on gravity forms

微笑、不失礼 提交于 2019-12-08 15:29:10
问题 We are hosting wordpress sites on wpengine. On this one site we are using gravity forms but for some reason it stopped working. All we get is a js error Uncaught ReferenceError: gformInitSpinner is not defined (index):135 (anonymous function) (index):135 o jquery.min.js:2 p.fireWith jquery.min.js:2 e.extend.ready jquery.min.js:2 c.addEventListener.B Now if I set up the site on my local machine it works perfectly fine. Has anyone come across this problem? Anyone got any idea why this is

Query a specific value with Pivot Table mySQL

会有一股神秘感。 提交于 2019-12-08 13:36:01
问题 I have searched all over the internet and I have had no luck in finding the answer to my question. I hope this has not specifically been posted yet, but if you can point to where i can find the answer I would appreciate it. I was able to take the following table data below: id lead_id form_id field_number value 1 1 1 1 Hosker 2 1 1 7 b**********@yahoo.com 3 1 1 6 Hyundai Tournament of Champions 4 1 1 3 Adam Scott 5 1 1 4 Harris English 6 1 1 5 2014-01-02 23:59:47 7 1 1 8 5b409692-e9ed-486e

Wordpress Gravity Forms get List values

≡放荡痞女 提交于 2019-12-07 12:00:55
问题 Can somebody point me in the direction on how to extract values from submitted forms containing list fields? I'm trying to create a front-end posting form using Gravity Forms, and then having the submitted values be assigned to custom fields made with Advanced Custom Fields. For normal fields, you can do this with the following: add_action("gform_after_submission_1", "acf_submission", 10, 2); function acf_submission($entry, $form) { $post_id = $entry["post_id"]; update_field('field_###',

Wordpress Gravity Forms get List values

与世无争的帅哥 提交于 2019-12-05 20:51:33
Can somebody point me in the direction on how to extract values from submitted forms containing list fields? I'm trying to create a front-end posting form using Gravity Forms, and then having the submitted values be assigned to custom fields made with Advanced Custom Fields. For normal fields, you can do this with the following: add_action("gform_after_submission_1", "acf_submission", 10, 2); function acf_submission($entry, $form) { $post_id = $entry["post_id"]; update_field('field_###', $entry['#'], $post_id ); update_field('field_###', $entry['#'], $post_id ); update_field('field_###',