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

Gravity form built in Captcha

I am using gravity form built in CAPTCHA and it is not working with my theme. I have active wordpress default theme and CAPTCHA was working with default theme. So there is only conflict with my theme. ...
wpdd's user avatar
  • 313
1 vote
1 answer
849 views

Gravity forms - get shortcode attribute from post content

I have some posts and some of them contain [gravityform] shortcode with different attribute values. Say, a post Hello World contains a shortcode [gravityform id="1" title="false" description="false"]...
mukto90's user avatar
  • 1,234
0 votes
0 answers
301 views

Paypal not converting currency when using Gravity Forms on WordPress

I have a WPMU setup, and one particular network site is using Gravity Forms and Gravity Forms PayPal Standard Add-On. All Gravity Forms are set to use South African Rand as the currency. When the ...
gillespieza's user avatar
  • 1,275
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
0 votes
1 answer
1k views

Using data sent via AJAX in multiple functions on a WP plugin

This might be a scope issue but I want to cover all bases. I am successfully sending a value, distance, to an Ajax handler function. Here is the JS: $.ajax({ type: 'POST', url: url, ...
Tony M's user avatar
  • 173
-3 votes
1 answer
213 views

Is it possible to set different payment gateway on each Gravity Forms form? [closed]

I run a Wordpress site in Australia involving credit card payments. I've been using eWay payment gateway for a while, now I want to introduce Stripe as well to my forms. I have multiple products, each ...
Ray's user avatar
  • 3
1 vote
1 answer
460 views

Pass MD5 value to prepopulate field

this is my scenario: I have a gravity form A where i collect user data and users are automatically registered to my site (via gravity forms user registration plugin). Users then automatically login ...
Vainucleo's user avatar
0 votes
1 answer
239 views

Gravity Forms Marketo Plugin Feed [closed]

I am wondering if anyone knows any hooks that I could use for the Marketo Gravity form Plugin? Basically, I need to change the campaign Feed dynamically based on a variable that will be in the URL (e....
Django's user avatar
  • 3
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
1 vote
1 answer
2k views

Gravity Forms closes my popup on Validation Error [closed]

I am having an issue with Gravity Forms. A user on my site can open a contact form in a popup menu by clicking a 'contact' button. The form is just in an absolute div that I show/hide on the contact ...
JordanBarber's user avatar
1 vote
1 answer
1k views

Adding auto-complete to custom gravity field not working

I am trying to add auto-complete to my custom fields on gravity forms.But its not working.Data returns but not showing on field.I am doing like this: (function( jQuery ) { jQuery(function() { ...
Mahmood Rehman's user avatar
0 votes
1 answer
550 views

Gravity Forms validate arrival and departure

I am working recently with GF and encounter the first problem: I have two datepicker; one is "arrival" and one is "departure". Now - of course - the "departure" can't be before "arrival". I've found ...
BrainBUG'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
-1 votes
1 answer
607 views

Update another users meta

I'm using gravity forms and have a fairly extensive profile for each user. They are able to add 5 other forms of data to their profile/user meta. My users are able to send an email to a non user and ...
rezon8dev's user avatar
-2 votes
1 answer
13k views

Restricting text field to numbers only in Gravity Forms [closed]

We're trying to restrict a text field to numbers only. Here's what we've tried Add text field Apply input mask (9999999999) The problem is that if someone does not fully complete the field, the ...
SixfootJames's user avatar
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
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,498
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
0 votes
1 answer
2k views

Gravity Forms merge tags in templates?

Is there a way to put Gravity Forms merge tags in template.php files or other sections of the website? A plugin maybe? I need to retrieve a field value from one of my Gravity Forms and use it in the ...
user304165's user avatar
0 votes
0 answers
32 views

Authenticating custom field on login

How do I get a custom field to be authenticated? I am storing player_id as user meta in the user_meta table, but how can I have my login check the field? I'm using Gravity Forms to create my login, ...
c-sharp-and-swiftui-devni's user avatar
-1 votes
1 answer
632 views

Code working in functions.php but not pluign for gavity forms

I am trying to create a plugin for Gavity Forms I have a bit of code that is working in functions .php and have it working fine but what i need to understand is the plugin avity forms ie how to ...
c-sharp-and-swiftui-devni's user avatar
0 votes
2 answers
1k views

Logic on a Gravity Forms redirect [closed]

I'm setting up a series of questions and based on the answers, I am trying to redirect to a specific page. For one example, the questions have to be answer correctly, they need to be male and 65 or ...
eristic's user avatar
  • 21
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
0 votes
0 answers
209 views

Why is my script's regex having its backslash removed?

One of my company's child themes requires customization. I am customizing using jQuery and have noticed in my function's regex (function lives in the "scripts" section of "Pages"--->My Page) that ...
The One and Only ChemistryBlob's user avatar
0 votes
1 answer
254 views

Creating multiple CPT posts from one Gravity form

I'm attempting to have Gravity Forms create two post types in one form, based on data in the form. The two post type slugs are teardown and engine, and it's successful in creating both posts, but ...
CA_'s user avatar
  • 13
1 vote
1 answer
3k views

Get Gravity Forms field values and count how many? [closed]

I don't know how to explain this the best way. But, I am using a form in Gravity Forms for rating something 0 - 10. In the code below, I can get the results. However, I need to see how many ratings ...
user3571316's user avatar
0 votes
1 answer
868 views

How to add custom input via PHP into every Gravity Form? [closed]

I need to add custom text input into every Gravity Form on site (captcha-like) via PHP. And I should throw error if user submitted bad answer into this input. Is it possible to do it in Gravity Forms?...
webvitaly's user avatar
  • 435
1 vote
3 answers
6k views

Change Default wp_mail From, Without Affecting Gravity Forms

I have a question about changing the default sender From name/email on default wp_mail notifications (e.g., Lost Password response), but WITHOUT it messing up notifications being passed on by Gravity ...
Kenny J's user avatar
  • 105
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
0 votes
1 answer
496 views

AJAX Call in Plugin Returns More than JSON

I have a plugin tat extendeds Gravity Forms consisting of one PHP file and a JS file. The PHP file can be found here: http://pastebin.com/VUX5AfLP The JS File can be found here: http://pastebin.com/...
Requin Creative's user avatar
0 votes
1 answer
533 views

Add OG meta tags to wp head

I'm using gravity forms and on thank you page I would like to be able to add some of the fields into to head OG meta tags. So far I have this: After Gravity forms submission we get the needed fields ...
user995317's user avatar
0 votes
1 answer
98 views

Page for logged in user to Edit/Delete their own content?

Im new to WordPress, I have been working with Drupal for about 6 years and recently switched over to WP, couldnt be happier :) I have a question that I need some assistance with and was hoping that ...
pouyar's user avatar
  • 9
0 votes
1 answer
2k views

Gravity Forms Upload each entry to Unique Folders

When someone uses my form, they can upload upto 15 images. I have about 10 - 20 uploads a day, which means that i could get upto 150-300 images per day. The issue i've got is with where these images ...
Andrew Lazarus's user avatar
-1 votes
1 answer
3k views

create category upon saving post and save post in that category

What I'm trying to do is similar to this one but we have a bit of difference in getting our info. Basically, when a user creates a post (under suggestions custom post type) on my site, it is not ...
Bernie's user avatar
  • 388
-1 votes
1 answer
428 views

Save post to category with gravity forms (post_data) [closed]

I'm trying to save my posts, generated with gravity forms, to a specific category. However whatever I try, it's not working. The post must be saved to sepecific category, dependent from a gravity ...
Trekdrop's user avatar
  • 245
1 vote
1 answer
708 views

Gravity Forms plugin: How to use "gform_editor_js" action hook? [closed]

I have a question regarding this action hook: http://www.gravityhelp.com/documentation/page/Gform_editor_js. I'm not sure where to put this action hook. Can I use this action hook in my child theme's ...
user1448031's user avatar
0 votes
1 answer
496 views

Gravity Forms | Form Object is NULL [closed]

I am trying to customize some gravity forms behavior. Therefore I've tried to hook into gforms from my theme. Unfortunately the form object is always NULL. Why is that the case? Example code: 1) ...
SunnyRed's user avatar
  • 137
1 vote
1 answer
242 views

wp_enqueue_script registers script but does not create html tag

I wrote a plugin that enqueues a script and stylesheet only on a specific admin page. It works in my dev environment and multiple production servers; however, was introduced recently to a site that is ...
codearachnid's user avatar
0 votes
1 answer
8k views

Multi-image upload doesn't work [closed]

I just installed Gravity Forms 1.8 and made a form with a multi-upload field. The field shows up alright, but the field just, doesn't works. Clicking the Select Files does nothing, and dragging files ...
Fredy31's user avatar
  • 848
0 votes
1 answer
2k views

How to add external remote JS source to Gravity Forms?

I would like to add an external javascript source to my Gravity Form. Like this: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=...
Qwerty's user avatar
  • 31
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
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
1 vote
1 answer
1k views

populate post meta in gravity forms [closed]

I can populate post author email with this code: add_filter('gform_field_value_author_email', 'populate_post_author_email'); function populate_post_author_email($value){ global $post; $...
Vektor Unbreakable's user avatar
0 votes
2 answers
727 views

Help debugging PHP filter for wordpress [closed]

I have a PHP filter for wordpress/gravityforms, that just recently stopped working and I can't figure out why. Can anyone help me? Here's the code: add_filter('gform_pre_submission_2', '...
user3515's user avatar
  • 141
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
0 votes
1 answer
3k views

How to pass post title (which could include &) to Gravity Form

I have created a form (Gravity Form) which I want to be able to complete dynamically from several of my other websites. In such a case, one of the fields that I am trying to send to the form is the ...
Dave Clements's user avatar
0 votes
1 answer
3k views

Gravity Forms Update post meta from template [closed]

I created a form called 'Books' which has the fields: Title (Post Title) Author Genre (Dropdown - fantasy, horror, drama... etc) ISBN Number Status (Dropdown - Default Option - Published, additional ...
Rizzo's user avatar
  • 269
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
0 votes
1 answer
188 views

Using a Cron Job to dynamically populate a field ONCE, and then making the field blank the next time someone visits page

I'm probably going to butcher explaining what I'm trying to do, so bare with me. Essentially I'm working on a custom Contest type of solution for a client. I'm using Gravity Forms for the users to ...
Scott Stubblefield's user avatar