Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
12 views

Gravity Forms - RMA Count

I am new to Wordpress so was wondering if anyone can help? I am creating a returns form through Gravity Forms. However, at the top of each form, I want to display a returns form number e.g RMA001, ...
0
votes
0answers
8 views

How can i add mastercard exchange rate in gravity forms?

I want to use mastercard exchange rate for calculations on my gravity forms wordpress plugins. The form currency will be multiplied with the amount typed by the user and it will then show the exact ...
0
votes
1answer
18 views

Configuring default woo commerce login with modal popup

Good day. I was trying to configure the default woo commerce login page. I want to add the two contents (login) and (register) to a modal popup separately. let's say if the user is not logged in and ...
0
votes
0answers
9 views

Update settings button not showing in Gravity form addon settings page

I am developing a feed addon that extends the GravityFeed Addon. In the form addon settings page, when one of the action is triggered fields are getting displayed correctly but the Update settings ...
0
votes
1answer
15 views

Gravit Forms Notification send after 3rd party API response

I have a Gravity Form that on submission sends the data to a third party API. It is connecting with the following code and saving the data through the API. However, I'm now trying to figure out how to ...
0
votes
0answers
34 views

Gravity Form After Submission Update Custom Post Type Taxonomy Terms

I am creating an online proposal system using a custom post type called 'proposal'. For the approval form, I am simply using a Gravity Form which then emails me if the client approves the proposal. ...
0
votes
0answers
11 views

Gravity forms completed by admin

Is there a plugin and or way of using gravity forms for admin. Admin selects user, selects form to complete and completes form. That form is saved against selected user. Any user can have multiple ...
0
votes
0answers
9 views

How to display querystring params in Gravity Forms field description/title using shortcodes

I'm trying to display data pulled from a querystring in the title or description field of a gravity form. I have a custom function, in my functions.php that builds out a shortcode to pull in url ...
0
votes
0answers
47 views

Get value of pre-populated Gravity forms field as variable in my function

I am using a dynamic field in Gravity forms which is pre-populated via a query string from another page. https://www.domain.com/example?country=US I have a function where I would like to get the ...
0
votes
1answer
24 views

PHP -> SQL Query with Summing

So I'm trying to display the sum of Paid Transactions for a customer's account: SELECT SUM(`payment_amount`) FROM `wp_gf_entry` WHERE `created_by` = '2' AND `form_id` = '37' AND `payment_status` =...
1
vote
0answers
31 views

Add sequential number to a Gravityforms form

I have multiple forms. Based on those forms I need a hidden field populated with a prefix and a sequential number. Each form has a hidden field. That field can be filled dynamically and has a ...
0
votes
0answers
102 views

Gravity forms dynamic checkbox values based on selected dropdown

How could I make checkboxes dynamically populated based on selected item in dropdown. I managed to display the lists of post titles from post type in a dropdown using gavity forms hook '...
0
votes
0answers
102 views

How to build a contact form with ACF in the middle of it

Background: I'm doing a photography website and this is an order form. The design is: Input field to choose how long of a photo session. ACF fields to show products and prices. ACF field ...
1
vote
0answers
8 views

Populate email field is wp-signup.php

I am collecting email on the home page of my website using gravity form, and redirect user to the wp-signup.php page. How can i populate the email field of wp-signup.php with the user entry (email) on ...
0
votes
1answer
28 views

How to add urls in html widget in a gravity form? [closed]

I am using gravity forms for my website. I added a html widget to add some text and urls to link to other pages of the site. Code: <div name="comments" id="comments" style="...
0
votes
2answers
46 views

get gravity form ID from backend/wordpress admin

I want to add a filter to a form submission like it is done here. add_action('gform_pre_submission_6', 'capitalize_fields_6'); function capitalize_fields_6($form){ // Code here } My question is, ...
1
vote
1answer
20 views

Cannot find an OLD Gravity Form on an OLD Word Press site [closed]

I am not a regular user of Word Press but I have recently been editing some Gravity Forms on our websites that feed data into Salesforce. On the Admin page, there is a tab for "Forms" with subtabs for ...
0
votes
0answers
32 views

Not all gravity form scripts are moving to footer

Hello I am using the gravity form plugin, and I am moving the scripts to the footer using this code: // GF method: http://www.gravityhelp.com/documentation/gravity-forms/extending-gravity-forms/hooks/...
0
votes
0answers
15 views

How a 5 star selection links to external URL

We have a client that wants a landing page that navigates to i.e. their Google Business page when a user clicks the 4 or 5 star rating (to encourage leaving positive review at Google). A submission ...
0
votes
1answer
76 views

Undefined fieldId in gform.addFilter for limiting dates in datepicker - Gravity Forms

I've added support for datepicker on date fields in entry detail edit admin page of Gravity Forms. I did this by simply enqueuing the gform_datepicker_init script in admin_enqueue_scripts hook. This ...
1
vote
1answer
34 views

Gravity Forms: gform_wrapper stays hidden even though JS-scripts load without errors

I think this is worthy of a new question but could be wrong. So I'm using Gravity Forms v2.3.2 on a sub-site (I have a multi-site install but the plugin is NOT network activated) and am able to use ...
1
vote
0answers
18 views

Submit a Gravity Form as other user [closed]

I'm looking for a script that will display a drop-down list on my gravity form and show all the current users registered on WordPress. When selecting a user, this form submission will be submitted in ...
1
vote
0answers
236 views

Gravity Forms: Create fields programmatically

Is there any possiblity to create and manage gravity fields dynamically? I have form with ID 4 with couple fields. I want to add some fields of type checkbox with my own custom external data which can ...
0
votes
0answers
48 views

help me for insert automatic user name and family to gravity forms

i have a form with gravityforms i want when registered user login in website and he want to submit my form , he name and family name Automatically entered in the first field how can i create this ?! ...
0
votes
1answer
58 views

Complex List Field - Gravity Forms

So I am using this Complex List instruction from LINK and it works, but it is changing all my lists. I've tried a few things but am missing something... .gform_wrapper ul.gform_fields....
1
vote
0answers
15 views

How to remove medium size class in gravity form for input tag?

I want to remove classes or replace class name with custom class names on a Gravity Forms email input field. I found this solution: add_filter( 'gform_field_css_class_3', 'custom_class', 10, 3 ); ...
1
vote
0answers
74 views

Adding multiple user roles dynamically

We are using this plugin Members to give users multiple roles on our site, in this case we have "Vendor" and "Instructor". After submitting a Gravity form to become a 'Vendor' I have added this code ...
0
votes
1answer
23 views

Stylesheet is getting removed/deregistered automatically

I've put some custom code in my active child theme's functions.php. I'm trying to enqueue some style on a admin page. However, a style enqueued in admin_enqueue_scripts hook gets automatically removed ...
0
votes
0answers
24 views

Gravity Form shopping cart making

i have some issue in wordpress gravity form shopping cart anyone that could guide me? breakawayseminar.com/register/… I have already created gravity form with product and price but i don't display ...
0
votes
0answers
25 views

Custom gravity form submission plugin is submitting for data twice!

So i created a custom plugin that submits an inline html form through gravity forms api. Everything works but for some reason the form is submitting twice and therefore i am getting duplicate entries. ...
0
votes
1answer
32 views

Attaching an upload to a user

Is there any way with WordPress that a user could upload a file (pdf or jpg, for example) and have that image 'attached' to their account? Ultimately, I'd like to be able to have a Gravity Forms ...
0
votes
1answer
129 views

Gravity Forms, multiple conditions in shortcode

Gravity forms offers a shortcode for conditional display based on responses. [gravityforms action="conditional" merge_tag="{:3}" condition="less_than" value="30"] Your value is less than 30 [/...
-1
votes
1answer
137 views

Getting submitted data in gform_confirmation_loaded

I'm currently trying to do some JS magic after a user submits a Gravity Form using gform_confirmation_loaded, but I need their submission in the function to do that. The only parameters according to ...
0
votes
1answer
50 views

Gravity Forms: tracking form [closed]

I’m new on this forum and I have a question about Gravity Forms. Actually, I am using entries like orders for my customers with a field where i digit the Order Number and another field where insert ...
0
votes
1answer
42 views

Generating shortcode and HTML on button click

I should say I'm new to WordPress, so I'm not sure if this can even be done. I have a page that is made in the following way [su_spoiler title="Add Call" open="yes" style="fancy" icon="arrow"] [...
0
votes
0answers
20 views

How to gets users EMAIL by their USERNAME

If I have a users username, is it possible to take that and echo their email address instead? I have a field in Gravity Forms that has the assigned user to that job. I have added some code that echos ...
0
votes
0answers
15 views

automatic login at the backend after gravity form submit using wp_signon()

I have a gravity forms with username and password fields, once the user successfully login it will go to a specific page, but when I got to wp-admin.php it asks for username and password, I think it ...
0
votes
1answer
159 views

Gravity Forms Submit form as another user

A client has requested that administrators be able to submit forms as other users. I've created an administrator form that has a dynamically populated drop-down of existing users filtered by roles. ...
4
votes
2answers
217 views

Get restrict content by submitting Gravity Forms

I'm having trouble finding a solution for this: I have a bunch of posts with restrict content, and to access the content of these pages the user has to submit a gravity form. I imagine the best way ...
0
votes
0answers
194 views

Gravity Form: gform_after_submission hook error when form has date time fields

I have added below hook in functions.php add_action( 'gform_after_submission', 'post_to_third_party', 10, 2 ); function post_to_third_party( $entry, $form ) { ..... } I am posting forms to 3rd ...
0
votes
1answer
255 views

Gravity Forms - gform_field_value - query custom table breaks functions.php

Trying to prepopulate a form field with custom table value. I am adding a function to functions.php add_filter( 'gform_field_value_HomeCity', 'populate_HomeCity' ); function populate_HomeCity( $...
-1
votes
2answers
27 views

GravityForms inside Gantry4 won't display [closed]

Implementing GravityForms inside a the Gantry4 Template works fine until inserting the form to a page. The form (which includes conditionals) is not displayed in the public view of the page. After 7 ...
0
votes
0answers
74 views

Retrieve Custom Taxonomy data

I'm using gravity forms to dynamically populate a dropdown field using posts from a custom post type called feedback. I got the work around for this documentation here: https://docs.gravityforms.com/...
0
votes
1answer
30 views

Populate a drop down list with post titles across a multisite network

I have successfully populated a Gravity Forms drop down list with post tiles from main site in my network. See code below. What code do I need to add in order to list post titles from sub-sites also?...
0
votes
0answers
40 views

Dropdown is unclickable

I have a weird issue on website, Im using Master slider as a background image slider, and I have gravity forms (which I implemented using "Overlay layers" function of Master Slider) I have 1 ...
0
votes
1answer
186 views

Convert Gravity Form Entry Date on Export

Gravity Forms offers a hook to modify field values when exporting an entry list using the gform_export_field_value hook. They show an example on how to change the User ID to the User Display Name on ...
1
vote
1answer
36 views

where should I reset query after using get_results?

I have the following code to populate checkbox fields in a gravity form. I have an array of field_ids I'm looping through with a foreach loop. $arr = array(5, 6, 7, 8, 9); I then have a second ...
0
votes
1answer
405 views

Using Gravity Forms to upload media into library, then attach to post

I have a simple site with two Gravity Forms, both of which allow users to upload media. I'm looking for some simple code that: (a) inserts all uploaded media into the Media Library and not the ...
0
votes
0answers
143 views

How Do I Email A Gravity Forms Recent Entry As CSV

My question is how do I send an email that has a .csv of just the most recent entry. I tried to comment out the foreach loop and also change the GFExport::start_export to a lower number, neither has ...
0
votes
0answers
266 views

Adding multiple values to 1 hidden field in Gravity Forms

I have a page with multiple products with each having a button "Add". When you press "Add", I'd like to add the id of the respective product into a hidden field in a Gravity Form at the bottom of the ...