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
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
0answers
6 views

Assigning Gravity Form Vendor Submission to Logged in Vendor [closed]

First & foremost, apologies if I am missing any particular information - I'll do my best to be as thorough, concise & specific to help communicate this stupid problem I'm just stuck on. I ...
0
votes
0answers
21 views

Make “Other” the first option for a radio button field in Gravity Forms [closed]

I am looking to change the order of the radio fields for a single specific field on a specific form in Gravity Forms. I would like the "Other" field to display first - before the pre-provided radio ...
0
votes
1answer
17 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
13 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
15 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
16 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
8 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
6 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
17 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
28 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
13 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
19 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
18 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
34 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
13 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
11 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
25 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
21 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
22 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
21 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
23 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
22 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
17 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
17 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
13 views

Pass data to hidden field Gravityforms in Ajax popup Fancybox

Currently I'm working on a project where we use Gravityforms to generate a lead form. We have a list of posts on an archive page where we have button. Once the users clicks on the button a fancybox ...
0
votes
0answers
93 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
60 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
66 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
0answers
12 views

Gravity forms selection list question

So i'm using this plugin called Gravity forms. It lets me create forms very easy. There is this selection list (see photo) It lets users select in this case how many apples they want,up to 3. But ...
0
votes
1answer
431 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 ...
0
votes
0answers
41 views

Is it possible to trigger Zapier hook on a post update and pass ACF fields?

I got myself into a bit of a pickle with a website and I would love some help. I am attempting to trigger a Zapier hook when a custom post type is updated, and send any ACF fields with it. Is this ...
0
votes
0answers
42 views

Update post's custom fields after workflow step approved or rejected in gravity flow

I am making a functionality in which I want to **Update the Project Status ** every time the Gravity Forms are submitted by the users on a single project. Like if one user sent a payment request then ...
0
votes
0answers
31 views

must use plugin php code for add_filter or add_action help (gravity forms + mu-plugin code)

I'm trying to create a 30 Random String to a hidden field on my gravity form, so I added a "Allow field to be populated dynamically" parameter named: uall then I added php code, in a php page I put ...
0
votes
0answers
68 views

How to change gravity form dropdown's placeholder color

If I change the color of the options off the dropdown of gravity forms it only changes the color of drop down options and not whats currently selected How can I change the place holder alone to gray.
0
votes
0answers
173 views

update entry with a different form entries in gravity forms

i need to update a gravity form student information entries. my problem is that i registered student in two different forms. now i want to update the student information and i can't. i'm using this ...
0
votes
0answers
29 views

Gravity Forms GFPaymentAddOn Callback URL

I'm integrating with a payment gateway where I redirect over to the gateway to collect payment, and the gateway redirects back to me. Getting to the gateway is easy: I override redirect_url(). But ...
0
votes
0answers
83 views

Adding a new field to the address field type in gravity forms

I'm following the documentation for adding new address types in Gravity Forms located here: https://docs.gravityforms.com/gform_address_types/ My goal is to add a new dropdown for County where State ...
0
votes
0answers
30 views

Problem with Gravity Forms - multistep form

I have a multistep form in my website built using Gravity Forms plugin, in the first page there's a phone number input, and when the user goes to the next step an OTP is sent to the phone number. All ...
1
vote
0answers
14 views

Is there a way to display poll question results in Gravity forms before submitting the form?

When you have a poll on Gravity Forms, you can have a lot of questions or fields on the poll. But it's only until you hit the submit button that you'll see each field results. Is there a way that ...
0
votes
0answers
26 views

Fill drop-down box with other text field entries

We're trying to read 3 text fields and as the user them out they would then be populated in a drop-down box Any idea of how this could be done? We tried following https://docs.gravityforms.com/...
0
votes
0answers
14 views

Auto search and populate fields using Gravity Forms

I have a product registration form which I set up through Gravity forms. What I want to do is import a list of products and product codes into my wordpress installation and somehow link this to my ...
0
votes
1answer
83 views

My Gravity forms creates a Woocommerce order but I want to exclude a certain form

Current code function gravity_form_submitted($entry) //, $form) { if(is_user_logged_in()){ $user_id = get_current_user_id(); } else { //session_start(); $user_id = $_SESSION['new_user_id'...
0
votes
1answer
230 views

How retreive saved data from gravity forms in my template?

I want to display the completed gravity form values in frontpage using entry id and form id. I know about this but unable to retrieve values GFFormsModel::get_leads($form_id) returns a list of ...
0
votes
0answers
154 views

How save gravityforms image (uploaded) to acf field?

I created custom field for post type next i designed form with gravityforms for submit post. User fills the form and send it. All custom field (like text box and other) worked except gallery's field. ...
0
votes
0answers
16 views

Customise GravityForm Field to accept multiple entries

I need to customise an input field in GravityForm to be like the highlighted part of the screenshot https://snag.gy/LIOsoh.jpg The input field will have a dropdown to add Adults, Infants and Children ...
0
votes
0answers
489 views

How to get current post id in gform_field_validation gravity forms

So I am trying to get the current post id when using the gravity forms gform_field_validation filter. class WhiteLabel { public function __construct() { // validate the sub domain ...
0
votes
1answer
467 views

Load gravity form via ajax using do_shortcode

I am reloading my form using ajax upon confirmation. This is working perfectly and I am parsing my form_id to the action function fine... // code to trigger stuff when forms have submitted $(...
0
votes
1answer
707 views

Update post using gravity forms 2019 solution

I am using native Gravity Forms to create posts. I am using Gravity Forms + Custom Post Types to handle creating custom post type posts. This works great. Its been about 3 years since i've had to ...
0
votes
1answer
254 views

Gravity Forms and regex - Doesn't seem to validate

I'm attempting to validate a field to ensure it is 9 numerical digits (Canadian SIN number format). I've got the below filter set up: add_filter( 'gform_field_validation_1_1', 'validate_SIN', 10, 4 );...

1
2 3 4 5