As of May 31, 2023, we have updated our Code of Conduct.

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
1 vote
1 answer
3k views

WooCommerce Custom Product Validation [closed]

I'm attempting to build a membership system in WordPress that utilizes WooCommerce with Gravity Forms and integrates with SalesForce. Can somebody give me some direction on how to properly utilize ...
Eric K's user avatar
  • 283
0 votes
1 answer
4k views

Getting values in gform_confirmation for Gravity Forms [closed]

A little background info: I'm using the Gravity Forms plugin and I'm trying to use a dynamic custom confirmation. However, the form that is filled has quite a bit of data/values variables. However, I ...
Kevster's user avatar
  • 33
0 votes
2 answers
74 views

Is there a way to call on just the content of a Page without actually using that Page? [closed]

The question sounds weird i know, but what i'm trying to do is add a gravity form into a template that i made. But all of their tutorials seem to be more along the lines of adding a form to a page ...
MARS's user avatar
  • 163
0 votes
1 answer
2k views

Gravity prerender taxonomy [closed]

I'm trying to prepopulate a category field or post drop down in gravity forms. Here is what I have: <?php add_filter("gform_pre_render", "gform_prepopluate_populate_books"); //Note: when ...
Rizzo's user avatar
  • 269
1 vote
1 answer
1k views

Create digital-virtual-downloadable WooCommerce products from the frontend using Gravity Forms? [closed]

A little background about my issue: I'm running WP + WooCommerce + Gravity Forms and want to enable users to create WC digital-virtual-downloadable products from the frontend using GF. Essentially, ...
Michael Kuhlmann's user avatar
0 votes
1 answer
1k views

gform_pre_render Dropdown populated with roles [closed]

I'm using gravity forms and trying to prepopulate a dropdown with a list of roles. This is what I have, but it's coming up with an error: add_filter("gform_pre_render", "...
Rizzo's user avatar
  • 269
0 votes
1 answer
70 views

Carrying information from button click into form [closed]

I had a question for a project I am finishing for a client. He would like it so that every time a user clicks on "Sign Up Today" for the given workshop (http://yft.ac/upcoming-workshops/), the name of ...
Keenan Payne's user avatar
1 vote
1 answer
1k views

Form Object Gravity Forms [closed]

Gravity Forms. I try to manipulate the form fields before they are rendered with add_filter("gform_pre_render", "my_function", 10, 5); function my_function($form){ ... $form["fields"][0]["content"] =...
wamps's user avatar
  • 75
0 votes
2 answers
471 views

GravityForms to Salesforce API, problem with people who leave out company [closed]

I use GravityForms in my WordPress site, and have the GravityForms to Salesforce API plugin that adds people who fill out a form as leads in Salesforce. It works fine, except for when people don't ...
user3515's user avatar
  • 141
4 votes
2 answers
2k views

Gravity Forms Custom Templates [closed]

Im trying to further customise my Gravity Forms "Address" labels. At the moment they read "Street Address", "City" and "ZIP / Postal Code". I, for example, want to change "ZIP / Postal Code" to "Post ...
realph's user avatar
  • 615
1 vote
1 answer
4k views

gravity forms jQuery.load into modal [closed]

I have a gravity forms contact form which resides on a page, but what I want is a site wide link, that will open up that form and display it in a modal, on the fly. One way to go about this would be ...
orionrush's user avatar
  • 890
0 votes
2 answers
3k views

Pre-populate BuddyPress Member Profile Data in Gravity Forms [closed]

I am succesfully pre populating logged in user wordpress user meta into gravity forms, but I can't find a way how to prepopulate buddypress profile data into gravity forms. Goal I want to be able ...
Daniel Foltynek's user avatar
1 vote
1 answer
162 views

How do I limit the number of forms a user can create in gravity forms?

I've been looking at Gravity Forms, and whilst it's a great plugin, it's missing some features. I really want the ability to limit how many forms can be created by a role: Administrator - Unlimited ...
David Howard's user avatar
0 votes
1 answer
2k views

Gravity forms multiple posts generated by one form [closed]

THE GOAL Example 1: Job Applicant + Mailing List Wondering if this could be possible, I have a simple form of 30 fields of Curricullum Vitae of some Job Applicant (custom post type: job_applicant) ...
Daniel Foltynek's user avatar
2 votes
1 answer
1k views

gform_after_submission add list of form titles after the post content [closed]

Can you help me with the code where all I only want is to add the list of all submitters who submitted GF form on every post page right after the post content? Every post has its small CPT form on the ...
Daniel Foltynek's user avatar
0 votes
1 answer
507 views

Gravity forms how to display list of submitters on the post submitted page [closed]

I am wondering if this could be done, we have thousands of restaurants on the wordpress site as a blog posts and one small request quote form on the bottom of every restaurant post page where job ...
Daniel Foltynek's user avatar
0 votes
1 answer
252 views

Gravity Forms, how to link form to amember pro signup [closed]

Trying to linkup a custom gravity form to my aMember Pro signup form and having difficulties. I have this for my in my functions file: // Gravity Forms to aMember Pro Link Up add_action("...
Danny's user avatar
  • 112
5 votes
1 answer
29k views

How to get the Gravityform entry ID from current user's form submission? [closed]

Case: When a user submits a (Gravity)form, the plugin automatically generates an unique entry ID for that specific form. In my case the form settings only allow user to submit the form once, and only ...
tobe's user avatar
  • 119
1 vote
2 answers
3k views

gform_after_submission content appears immediately after <body>, not in post body [closed]

I have the following function that successfully uses form fields (IDs 13 and 18) from a Gravity Form (ID 18) as parameters within wp_query. This displays a list of posts with specific taxonomy terms ...
Madebymartin's user avatar
2 votes
1 answer
3k views

Gravity Forms field entries into wp_query loop [closed]

I have a simple function that filters the page content when form (ID 18) is submitted. It simply displays the entry of field (ID 13)... add_action("gform_after_submission_18", "set_post_content", 10, ...
Madebymartin's user avatar
0 votes
1 answer
475 views

Gravity forms and wp_update_post [closed]

I am using Gravity Forms to let users create posts. The user fills out a bunch of information, and a post is created. The user gets to choose which categories the post is in, but there is one more ...
Morgan Kay's user avatar
5 votes
1 answer
3k views

Saving images from Gravity Forms repeatable File Upload as post attachments [closed]

I am trying to upload multiple images as attachments to a post using Gravity Forms and the Gravity Forms + Custom Post Types plugin. I have a repeatable File Upload field using the Gravity Forms ...
Dom's user avatar
  • 145
0 votes
2 answers
5k views

Gravity Forms - Repeatable "File Upload" field using "gform_column_input_content" filter [closed]

I am looking to use the gform_column_input_content filter to make a repeatable file upload element. The filter modifies the HTML content of the list field column input tag. The following code ...
Dom's user avatar
  • 145
2 votes
1 answer
1k views

Gravity forms - Can I have multiple custom spinners? [closed]

I wish to change the default ajax loader for gravity forms. I have done this using the following code (link found here): add_filter( 'gform_ajax_spinner_url', 'cwwp_custom_gforms_spinner' ); /** ...
Shane Griffiths's user avatar
5 votes
2 answers
11k views

gravity forms : use previous dropdown choice as variable in gform_pre_render? [closed]

I have a question regarding gform_pre_render? I have dealer form. Which basically you choose your county, and then your dealer. Dropdown A = Dealer Country Dropdown B = Dealer Name I have about 15 ...
Joshc's user avatar
  • 1,520
22 votes
3 answers
67k views

How do I show data from gravity forms in my template? [closed]

Preface I've installed gravity forms, created a form and users are submitting data to my site. What I want to do is show the data users are submitting to my site on one of my pages. I know there's the ...
hitautodestruct's user avatar
0 votes
1 answer
2k views

gform_after_submission not working as expected [closed]

I am trying to augment a value to the wp_user_meta table, utilizing Gravity Forms. And I'm not having any luck. I had a version of this working on gform_pre_submission (though without the class-...
GhostToast's user avatar
  • 4,556
0 votes
1 answer
595 views

How to add to a user_meta field (append)

Is this possible? I want to use Gravity Forms or another hook to somehow write to the END of a user_meta field - not overwrite it. For example... Before: $purchase_history = get_the_author_meta('...
GhostToast's user avatar
  • 4,556
3 votes
2 answers
11k views

Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]

I'm trying to feed checkbox values from a Gravity Forms form (which creates a new post) into an Advanced Custom Fields field. I've had a read around and found some info in a post (at the bottom of the ...
Rob's user avatar
  • 1,406
0 votes
1 answer
201 views

need correction with a snippet in functions.php [closed]

I use gravity forms and wp-favorites plugin (helps users select their favorite posts). I am trying to auto-populate gravity form with the following snippet. It works pretty well but it shows only the ...
gurung's user avatar
  • 432
1 vote
3 answers
8k views

How to make entries of Gravity Forms available in the public front-end? [closed]

I want to make entries of the Gravity Forms available for the public in the front-end. I read in a forum post that this is possible with some specific free add-on for Gravity Forms. But I couldn't ...
Mert Nuhoglu's user avatar
0 votes
1 answer
3k views

Create wp_cront events dynamically upon user submission

Is it possible to set up new wp_cron jobs dynamically upon a certain action? I have a form submission (I'm using Gravity Forms, so have several functions set up on several of their hooks already) ...
RichardTape's user avatar
0 votes
1 answer
111 views

Return one of user's post from a category in user's profile

I'm working on a site which requires requires users to submit a custom profile of sorts, and then one post in a specific category (all of that is being done through Gravity Forms and their User ...
angiemeeker's user avatar
0 votes
1 answer
430 views

How to change image's author via a function when using GravityForms uploader? [closed]

I am wondering if there is a way to manually change the author of images. I am using Gravity Forms which sets the post author to the current user but does not set them as the author of the images ...
tyler's user avatar
  • 113
4 votes
3 answers
2k views

Gravity form to submit to third party application

I would like to know what the cleanest way to use gravity forms to submit data from my form to another page outside of WordPress is. Our website is 100% WordPress and I need to use data of my gravity ...
Louis's user avatar
  • 151
1 vote
2 answers
3k views

Having a Function Inside of the Loop

I am trying to make a frontend product editor for WooCommerce, and have a loop that returns all of the products for the current user. I am trying to use gravity forms as the editor, so a single ...
Kyle's user avatar
  • 260
4 votes
2 answers
11k views

Wordpress Uploads Folder can't be Written to

This one has me stumped I'm sure it is something really small that I am overlooking but I think I've been looking at it too long to see what the problem is. Wordpress is telling me: "Upload ...
Jeff Purcell's user avatar
0 votes
1 answer
234 views

authenticate user without redirecting

I am working on a form (Gravity Form) which needs some user authentication when the form is submitted. Gravity's documentation pointed out the place where i should place my code. i.e. ...
Assad Nazar's user avatar
0 votes
1 answer
1k views

Adding a Custom Field to be used by Posts 2 Posts

I'm trying using Gravity Forms and allow for a user to submit a post to my CPT, and choose an optional Connected Post Type. I have two CPTs, CPT1 and CPT2. When they're viewing my form for creating ...
Jon Dingman's user avatar
0 votes
1 answer
7k views

get_page_by_title() not returning anything [closed]

I'm trying to use get_page_by_title() to get the value of a parent custom post type through Gravity Forms. Basically a patient name is stored in a custom post and their patient id is the post title ...
Dave Legassick's user avatar
0 votes
2 answers
3k views

Gravity Forms field ID $entry not working

So my script is simple right now just to test out the $entry field id's. add_action("gform_after_submission_3", "set_post_content", 10, 2); function set_post_content($entry, $form){ $subject = $entry[...
David Hechler's user avatar
0 votes
2 answers
857 views

Hide gravity forms

I have gravity forms set up on my site and I am wanting to hide/show a form based on whether or not the user has posted an entry into the form/database. If they have made an entry, then I want to hide ...
user537137's user avatar
3 votes
1 answer
6k views

Redirect to post after submission with Gravity Forms? [closed]

How do I redirect to a post after submission with gravity forms. It gives you the option to put in query string values but when I add {post_id}/{Video Title:1} I get mysite.com/?123/name+of+post and ...
Pollux Khafra's user avatar
1 vote
3 answers
1k views

Simple Online Payment for Event Registration [closed]

I am looking for a simple (and secure) way to accept payment for event registration. I am managing a Wordpress website for a organization that hosts events throughout the year. A handful of these ...
Susan's user avatar
  • 67
4 votes
6 answers
7k views

Removing an admin page added by a 3rd party plugin. Gravity forms in this example

I'm trying to hide a help page from editors, added by the gravity forms plugin. I believe I've run into the same issue before with other plugins, so I'd like to know the correct way to do it for 3rd ...
Andrew's user avatar
  • 1,163
0 votes
2 answers
2k views

Gravity Forms Post method [closed]

I have a simple form that users will fill out which will in turn become a post on my site. I have 2 problems: I am using the Post title, Post Custom Field elements (for single line text) and Post ...
Craigy's user avatar
  • 3
2 votes
1 answer
1k views

outlook calendar event from form post [closed]

After someone fills out a form on my site (using gravity forms) is there any known integration/widget that would allow me to have an "Add this event to my Outlook Calendar" link in the submission ...
daniel's user avatar
  • 21
6 votes
3 answers
3k views

Can an action callback prevent the parent from continuing execution?

I'm working on a plugin that interacts with Gravity Forms, and under certain conditions I want to prevent a form from being deleted. Here's the method in Gravity Forms that handles deleting a form: ...
Ian Dunn's user avatar
  • 4,534
0 votes
1 answer
2k views

Custom Field & Gravity Forms [closed]

I have the following custom function code which i'm using to create custom fields for a post type. The issues is that I need the custom fields to show up individually and at the moment they just show ...
Rob's user avatar
  • 152
0 votes
2 answers
2k views

Value of Query string [closed]

How can i get the total value from the following URL http://tradephonein.com/checkout-swap/?total=$18.00&broken=No&water=%20No&power=Yes,%20battery%20included&lcd=No&charger=&...
markyeoj's user avatar
  • 507