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
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
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
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
5 votes
2 answers
3k views

Set cookie using GET variable

I need to set a cookie based on a GET variable so my customers can get a coupon code on our site even if they move around after selecting the coupon link. I am using the code here: Gravity Help to ...
JpaytonWPD's user avatar
5 votes
1 answer
4k views

Delete the original big size image after upload and leave only 3 images crunched by media gallery

I need to know is it possible to somehow erase the original image uploaded via Gravity form : post image - post field?! With the situation now I receive 4 images. 1 original (can be whatever user has ...
jimilesku's user avatar
  • 263
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
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
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
4 votes
2 answers
1k views

Function to call the attachment image from post

Hey everyone, I can't se the image of the post (it is attached through gravity form as a post-image) with this function I see the missing image icon with the title and the working link but no ...
jimilesku's user avatar
  • 263
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
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
4 votes
1 answer
4k views

Best way to create multi-step form with data saved to user account for later updating?

I'm attempting to set up a fairly long multi-part form (~50 questions, a few questions per page) with conditional logic. I'd like to offer registered visitors the ability to save their data between ...
Michelle's user avatar
  • 3,408
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
4 votes
0 answers
3k 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 ...
Kamil's user avatar
  • 393
3 votes
1 answer
13k views

Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]

Gravity Forms offers a reasonably good documentation and of course Google offers more insights into how developers have solved other challenges related to this plugin - but we need to achieve what ...
Q Studio's user avatar
  • 2,478
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
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
3 votes
1 answer
1k views

GravityForm: Populate Dropdown with custom post type [closed]

I am trying to populate a dropdown field with an array of my custom post type "color". with this: https://www.gravityhelp.com/documentation/article/dynamically-populating-drop-down-fields/ ...
Mads I's user avatar
  • 43
3 votes
1 answer
4k views

Gravity Forms loading jquery

I placed the following script in my functions file to deregister Wordpress jquery and use the Google CDN. // use the Google hosted jquery library if (!function_exists('modify_jquery')) { function ...
brandozz's user avatar
  • 792
3 votes
2 answers
2k 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 ...
Paulo Gabriel's user avatar
2 votes
4 answers
3k views

Getting redirect to happen before header output

Anyone know of a way to trick WordPress into doing a header location redirect. I have to check whether users are logged in or not, and if not redirect them to our organizations authorization system ...
cj5's user avatar
  • 220
2 votes
2 answers
5k views

Gravity Forms skip form if already filled out using cookie?

I have a Gravity Forms page set up where, after you fill out the form, you are taken to a confirmation page where you can download some resources. The problem with this setup is: Let's say someone ...
Jake Wilson's user avatar
2 votes
1 answer
3k views

urlencode query string in gravity forms confirmation redirect

I have a form that passes information such as 'name', 'email', 'orderno', 'amount' and 'note' to a payment form hosted at ePay. In order to pass the field-values I use the standard-confirmation on the ...
Ploughansen's user avatar
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
2 votes
1 answer
2k 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 ...
joshmoto's user avatar
  • 447
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
2 votes
0 answers
294 views

Gravity list field override and adding javascript [closed]

I tried for past few hours, I'm override the list field to drop down, add_filter( 'gform_column_input_4_2_1', 'set_column', 10, 5 ); function set_column( $input_info, $field, $column, $value, $...
Raj Mohan's user avatar
  • 147
2 votes
1 answer
249 views

How to use IF Statement in WordPress?

I can't see how to correctly use the PHP if statement in my filter function below. This code works perfectly if all (3) of my $_POST inputs have values however it has a fatal error if any are empty. ...
Mike's user avatar
  • 21
2 votes
0 answers
1k views

Displaying Gravity Form data on Wordpress page [closed]

How can I display the data from within a Gravity Form on a Wordpress page? (This may be too detailed, but in case anybody wants details about what I'm trying to do, here they are): I have two ...
runningonplants'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
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
1 vote
1 answer
10k views

Change gravity forms confirmation redirect query string to include entry id [closed]

I need to somehow insert the entry id from a Gravity Forms submission into a redirect confirmation. My problem is, that when attempting to create a confirmation via the admin interface, I can insert ...
Dylan Hildenbrand's user avatar
1 vote
1 answer
4k views

Gravity Custom Merge Tags [closed]

I created some custom profile fields following the advice of Thomas Griffin and Stephanie Leary. Like so: function change_contactmethod( $contactmethods ) { // Add some fields $contactmethods['...
Rizzo's user avatar
  • 269
1 vote
1 answer
2k views

Comment form connection to Gravity Forms

I want to use the comment form I have built to then transfer data directly into an entry within Gravity Forms. I'm thinking it can work from this: Someone fills out comment form. If checkbox is ...
manc's user avatar
  • 203
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
1 vote
1 answer
642 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 ...
joshmoto's user avatar
  • 447
1 vote
1 answer
2k views

Unset a Cookie on Successful Gravity Forms form Submission [closed]

I have a cookie with data that I'm utilizing to populate a Gravity Forms form. However, after the form has been successfully submitted, I'd like to unset (or more accurately, expire) that cookie. ...
Phil Birnie's user avatar
1 vote
1 answer
6k views

How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]

I'm trying to save a custom post type from the frontend using Gravity Forms (v2.0.6). This post type has custom fields expecting a term ID. One of the fields is about a "Food Type", and I have like 5 ...
Mithc's user avatar
  • 141
1 vote
1 answer
3k views

Gravity Forms - Using a Form to Pre-populate A Gravity Form [closed]

I have a custom form (hardcoded, not a GF) on one page I've written myself: <form id="tailor-select" method="POST"> <ul> <li> <ul> <...
Remo Web's user avatar
1 vote
1 answer
4k views

Pre-populate Gravity Forms Field with Custom Post Type

I'm using Gravity Forms to create several checkbox sections on my form each pre-populated with a specific taxonomy term from a custom post type. I found an example of how to do this on the Gravity ...
chriswhiteley's user avatar
1 vote
1 answer
748 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, ...
Kirsty Marks's user avatar
1 vote
1 answer
251 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 ...
Nick Marques's user avatar
1 vote
1 answer
321 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-...
Josh Rodgers's user avatar
  • 1,143
1 vote
1 answer
117 views

user activation email doesn't work

I have a question about the Gravity forms Plugin ... I'm going to create a registration form And for that, I used the description of the link below. https://gravitywiz.com/customizing-the-user-...
Miss Tahereh HZ's user avatar
1 vote
1 answer
37 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 ...
Brian Oconnell's user avatar
1 vote
1 answer
760 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 ...
LTech's user avatar
  • 121
1 vote
3 answers
705 views

Keyword checking in Gravity Forms

In Gravity Forms I'd like to include a small keyword checker that is checking the user's message for "spammy" words and stops sending the entry to the admin. For this a hidden field changes it's value....
bushrang's user avatar
1 vote
1 answer
862 views

gravity forms file upload field

I have created sample form using gravity forms which has some fields with file upload field. when form loads, it will check for existing data and if there it will populate it from database. Once ...
chandu's user avatar
  • 11
1 vote
1 answer
466 views

How do I dynamically populate a shortcode with a variable from URL?

I have a page that lists all live posts on a single page, with an edit link next to each one of them. The edit link to a post looks like this: site.com/edit/?pid=3329&_wpnonce=9b37f6bacd where ...
chainznanz's user avatar
1 vote
1 answer
643 views

Gravity forms customize field markup for the same form appearing in different places

I know i can customize the markup for a gravity form field using their gform_field_input filter. Is there a a add_filter( 'gform_field_input', 'my_gf_inputs', 10, 5 ); function my_gf_inputs( $input, ...
yuvilio's user avatar
  • 111

1
2 3 4 5 6