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

Gravity Forms Change Upload Path and Group Multiple Uploads by Entry_ID as subfolders

I've added this to my functions.php file in order to change the file upload location for a specific form: add_filter("gform_upload_path_58", "change_upload_path", 10, 2); function ...
0
votes
0answers
11 views

Custom pop-up on wp-login page

I'm currently customizing the default wp-login page, and now I want to create a button which should open a custom pop-up, which would contain a contact form. I've only managed to create a simple ...
0
votes
0answers
7 views

Wordpress (not woocommerce) Request A Quote functionality

I've seen plugins for WooCommerce that provide Request A Quote functionality (turning their cart into a quote request) as well as plugins that are glorified forms (allowing you to select multiple ...
0
votes
0answers
13 views

Gravity Forms Request for Quote using one form and data from multi Posts

We're using Posts to display our 'items' (we don't want/need a full ecomm solution) for customers to request quotes for. What we would like to do is: Use one Gravity Form to send a single request to ...
0
votes
1answer
16 views

Gravity Forms parameters return 1

I'm not sure what's causing gravity forms $entry and $form parameters to return 1. Here is my class. namespace GrvityFormsIntegration\DataTools; ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' ); ...
0
votes
0answers
21 views

How to force login before downloading file uploaded via gravity form?

I have followed this guide: Protecting Your Gravity Forms Upload Files And have therefore added the following to functions.php: add_filter( 'gform_require_login_pre_download', 'protect_gf_uploads', 10,...
1
vote
2answers
57 views

Restricting product quantity field to numbers only in Gravity Forms

How can i restrict the product quantity field to numbers only in Gravity Forms. And how can we add some increment arrow to the quantity field? like on this demo ? http://demos.gravitywiz.com/gp-...
0
votes
1answer
43 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
56 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
85 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
102 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
241 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
139 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
31 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
96 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 ...
1
vote
0answers
430 views

Add PDF to ACF image field from file url

I am basically looping some fields from a gravity form entries. I using this function below to pass a file url into $filename and convert the file into a media library item, and then attaching that ...
0
votes
2answers
223 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
225 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
376 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
276 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
28 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
156 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
230 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
26 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
279 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
2k 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
142 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
115 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
446 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
23 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
115 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
314 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
38 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
718 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
253 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 ...
1
vote
0answers
91 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
41 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
314 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
62 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
275 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
272 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
153 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
161 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
1k 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
133 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
207 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
68 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
1answer
122 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 ...

1
2 3 4 5