Questions tagged [plugin-gravity-forms]

Note: Support questions for this plugin is off topic. Please contact the plugin author or make use of its support route. Gravity Forms is a complete contact form solution for WordPress

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Get all Gravity Form entry IDs for current user and display the highest value

I have a Gravity Form with a user registration plugin installed, so every time someone completes the form, they are added as a user and the submitted form is assigned an entry ID which is linked to ...
0
votes
1answer
16 views

Gravity forms only working for logged in users

I am having an issue with my gravity forms and it's working only when the user or admin logged in. When I check-in private or as a visitor (logged out) mode it's not loading and there is an inline CSS ...
0
votes
1answer
38 views

Using $WPDB to create simple array to check against user entered value

I have a function that checks an entered value against a simple array of values to determine a match (or not). function validate_unit_type( $result, $value ) { $pattern = ["U" ,"SE&...
1
vote
0answers
30 views

Shortcodes — Using add_action, add_filter in the shortcode

A client wants the following: User clicks on a specific button which takes them to a partner's site. If this is their first time clicking the link, they need to accept terms and conditions. If they'...
1
vote
1answer
64 views

Capture User Email Address When Filling Out Form

We have a snippet of code that was provided by an optimization platform company we use that provides a real-time personalization to our website. The user will fill out a form (Gravity Forms) and then ...
0
votes
1answer
26 views

Gravity Forms non-empty Total field values not submitted [closed]

I have created a gravity form and used several Total fields. Although I do not have any Product fields in my form, which the Total field is usually used to display the total of product prices, I used ...
0
votes
1answer
58 views

Using file_get_contents with Gravity Forms uploads folder to create images in the media library returning false

I am using Gravity forms which is uploading media and recreating the image into the relevant media folder over https. However, on my server, this doesn't appear to be reading the Gravity File folder, ...
0
votes
0answers
29 views

Set form field cookie and submit to checkout field - Not storing cookie

I'm having difficulty with the following code in that I'm adding it to code snippet plugin but I am unable to see the cookie being set in the developer tools after the form has been submitted. My ...
0
votes
0answers
10 views

Updating user meta adds string count to value?

I am using Gravity Forms to update user meta. The user meta has to be serialized for another plugin, so I have to catch the value and convert it using the gform_pre_submission action before it gets ...
0
votes
0answers
19 views

Prevent block from being used in main editor, use only as inner block

I am currently using the allowed_block_type filter to control the available blocks in my theme, similar to the following example: function acf_allowed_blocks($allowed_blocks, $post) { // Register ...
0
votes
0answers
32 views

Gravity Forms for Woocommerce Add-on - GF Products amount not calculated in cart

Has anyone had experience with the Gravity Forms for Woocommerce Add-on? Specifically when generating GF Product fields. Here is what I am trying to accomplish: Using a Woocommerce product, I've added ...
0
votes
2answers
115 views

Gravity Forms: How to add PHP function to confirmation conditional shortcode?

In Gravity Forms, I have a confirmation set up with various conditional shortcodes. Example: [gravityforms action="conditional" merge_tag="{:3:value}" condition="contains"...
0
votes
0answers
90 views

Trouble Accessing Gravity Forms API (GFAPI)

I'm having trouble figuring out where I should be registering my function in such a way that I can access the Gravity Forms API (GFAPI). At first glance, this may appear to be native to Gravity Forms, ...
0
votes
0answers
15 views

Save and reuse product variations

Does anyone know of a plugin or a method that would allow me to create a set of variations with a quantity and set the price. From there save this variation set to be reused in one option, and the ...
0
votes
0answers
207 views

How to capture hidden values with Gravity Forms

I will be using the following code from ActiveProspects and what it do is basically pass some hidden values (in this case basically a dynamic url) to the server along with the form fields which we ...
0
votes
1answer
123 views

Doing Math with Gravity Forms List

While working on a client site utilizing Gravity Forms, I found myself wanting to use the aesthetic of the advanced list Gravity provides, but needed a bit more arithmetic firepower (read: any, ...
0
votes
0answers
18 views

Gravity form Conditional Logic and jQuery

My Conditioned Gravity form is not showing up on this page: https://omegice.com/reseller-request/ It's on display=none because of the conditional logic but jquery won't do it's thing so it can be ...
0
votes
0answers
26 views

Confuse between forms and tables

I’m get confused between these notion and i don’t know wheres to start from for my project. I juste want to have the possiblities to get multiple evaluation to person (list of sportif) from the font-...
0
votes
2answers
73 views

Wordpress - Gravityforms https:// is not a valid url

I have a Wordpress based website that uses gravity forms. I have the gravity form loading in a jquery model window. My issue is the form seems to work except for after submission the form just stays ...
0
votes
1answer
106 views

Gravity forms / Recaptcha / Autoptimize - somewhere it goes wrong

I am using Gravity Forms and have recently started using their Google Captcha integration. (We also use Autoptimize ) The problem I have is that de captcha validation goes wrong, but I am not sure ...
0
votes
1answer
18 views

edit_user_created_user hook - using to update Groups

I am integrating Gravity Forms, Gravity Forms User Registration Add On and Groups by ithinx. I have written the following function: add_action( 'edit_user_created_user', 'hl_add_group', 10, 1 ); ...
0
votes
1answer
121 views

Write gravity forms field values to server file before submission

I have a gravity form and I want to write the values of the fields to a server file, before submission, to capture people who don’t finish the form. I know there is a partial entries add on but I ...
-1
votes
2answers
587 views

Gravity Forms - Prevent Multiple Form Entries Same User ID with Same Field Value

I have a form where users will submit a timecard.All entries to this form will be from users who are logged in (this part I have figured out).Users will enter their name, the amount of hours, and ...
0
votes
1answer
8 views

Trying to modify the background of a form on a specific page

Here's my CSS: .page-id-9399 body #gform_wrapper_3 { background-color: #363c42; } This is related to a Gravity Forms (contact form submission). I'd like the background of the FORM to be the ...
0
votes
1answer
86 views

Modify gform_other_choice_value for specific form and specific field in Gravity Forms

I am looking to change the "other" text for a single specific field on a specific form in Gravity Forms. It seems gform_other_choice_value does not work the way some of the other Gravity Forms ...
0
votes
0answers
43 views

How can I get the total average quiz results of the Gravity Forms Quiz Addon?

I'm using the Quiz Addon for Gravity Forms, and I want to show the average total quiz results on the front end so that people taking the quiz can see how they stack up against everyone else. I was ...
0
votes
0answers
69 views

How to use third-party SendGrid Email Validation API in Gravity Forms?

Please let me know how to use SendGrid Email Validation API in Gravity Forms, using gform_field_validation filter? Gravity Forms filter example: add_filter( 'gform_field_validation', function ( $...
0
votes
2answers
217 views

Pass created post id from gform_after_submission action to gform_confirmation filter?

I am trying to create a post when my Gravity Form submits and redirect to the post permalink on form confirmation. See below the function which creates my post/order when my form submits using the ...
0
votes
0answers
74 views

Gravity form is broken after javascript defer

I want to optimise my website javascript, but i'm also using Gravity form and if I deferred js the form doesn't show up, there will be an error in the console saying jQuery is not a function. I have ...
0
votes
0answers
11 views

load graviryforms scripts in dashboard admin menu

I want to use a gravityforms in my admin_menu; what I did is: add_action( 'admin_menu', 'teacher_form_menu' ); function teacher_form_menu() { add_submenu_page( 'hsaja_settings', ...
0
votes
0answers
20 views

Add (populate) multiple dynamic fields trough a url query

So I'm using gravity forms to let users send a form where the can ask for a sample product. They do this by clicking an image from an image gallery. At this point, I'm able to create a URL to the form ...
1
vote
1answer
79 views

How can I trigger actions manually?

I am working with Gravity Forms and the Webhooks Add-on, but those may or may not be relevant to my question. If I have an action defined with a hook in my functions.php file, is there an easy way of ...
0
votes
1answer
150 views

Passing data from after_submission action to the confirmation filter in gravity forms?

I am creating a post within gform_after_submission action, which sets a post ID variable when the post is successfully created. https://docs.gravityforms.com/gform_after_submission/ add_action('...
0
votes
1answer
29 views

Am i doing something wrong by getting plugins from github repos?

I was trying to add paypal payment to my website, I'm using Gravirty form with stripe add-on but not paypal add-on. I happened to find a github repo for the (paypal addon). so I downloaded it then ...
0
votes
1answer
346 views

How to get a custom entry field label with Gravity Forms?

I want to get a JSON object like [{"Video link": "https://www.youtube.com/watch?v=r",....},...] from form entries with "labels". Now I am using this code $form_id = '1'; $form = GFAPI::get_form( $...
1
vote
1answer
138 views

Creating custom array keys on gravity forms entry

When I submit my gravity form entry, the $entry always returns my entry keys as the field ID's. The problem with this is that I have multiple forms that perform similar functions using the ...
0
votes
0answers
26 views

How do I output the Gravity Forms “embed url” of a post type post posted within a default post?

How do I output the Gravity Forms "embed url" of a post type posted within a default post, in php, within a shortcode? Does anyone know how to output these embed url merge tags on the frontend via ...
0
votes
0answers
13 views

Gravity form : Mobile box force an english number only

I want to know is that possible to force Mobile and tablet phone that have 2keyboard (English and Persian or arabic or chines) to force put their number an English only ? Is that possible to use ...
1
vote
0answers
64 views

How can I use a gravity form to send an e-card?

I have a Wordpress website that uses Woocommerce to sell printed greeting cards. We would like to enable our customers to be able to email people a digital version of a greeting card. I would like to ...
1
vote
0answers
28 views

Why does using conditional logic in gravity forms break the form when placed using php

I have a form built using gravity forms... I am placing this form onto my page using PHP like this... // set our form ID 'Order Checkout' $form_id = 1; // enqueue the necessary styles and scripts ...
0
votes
1answer
134 views

Store GravityForm data in phpmyadmin (mysql)

I'm currently developing a small portal on Wordpress for a client where users have to submit forms (created with Gravity Forms). I'd like to be able to store the data from these forms, upon submission,...
1
vote
1answer
36 views

Gravity Forms Button Text

I am creating several Gravity Forms that use a button instead of an input to submit. I got the button working, but I was wondering how I can use the button text in the admin panel, instead of hard-...
0
votes
0answers
82 views

How to style a list item when the radio input button within that li is :checked

I'm trying to add some simple css to a li item once the radio input within that tag is selected, here is the link to the page I'm referring to https://www.simplebooking.online/, currently the border ...
0
votes
0answers
24 views

Woocommerce and Gravity - Update quantity to gravity

I'm trying to get the quantity the customer specifies on the product page to update the linked gravity form. I have a pretty complex gravity form attached to 1 product type. When the customer orders ...
0
votes
0answers
31 views

Pass metadata to PayPal with Gravity Forms

I would like to use the Gravity Forms gform_paypal_query filter (https://docs.gravityforms.com/gform_paypal_query/) to pass metadata from a checkbox field on my form to PayPal with the PayPal Standard ...
0
votes
0answers
43 views

Dynamic homepage depending on user role

Currently, I have 2 user roles: Supplier, and Researcher, where users must sign into the website before they can proceed. The goal of the site is to give each user access to a set of surveys that ...
0
votes
0answers
206 views

gform_after_submission does not work on ajax enabled form

I have a Gravity Forms multi-step form. I need to run my own function when the form is submitted so I'm using the GF hook 'gform_after_submission' The hook works perfectly on forms that do not ...
1
vote
0answers
126 views

Gravity Forms Webhooks [closed]

I have a Gravity Forms form that is posting to an external API via the Webhooks add-on. In the response from the API there is a redirect URL. I am looking for the best way to grab that dynamic URL and ...
0
votes
1answer
136 views

Extract XML/JSON element from Zillow API response and populate into Gravity Forms field

Given this stack: WordPress 5.3 GravityForms 2.4.15.6 (paid: common, right?) Forms: 3rd-Party Integration (free: Link to WordPress plugin page) Forms: 3rd-Party Inject Results (free: Link to ...
0
votes
1answer
901 views

Manipulate the files uploaded via Gravity Forms before they are stored

I would like to make changes to files (for e.g. compress them into a zip) uploaded via Gravity Forms File upload field before they are uploaded to the webserver. Do you know of any hook or ...

1
2 3 4 5 6