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
2
votes
1answer
151 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. ...
1
vote
1answer
1k 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 ...
1
vote
1answer
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() { ...
0
votes
1answer
500 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 ...
1
vote
1answer
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 ...
-1
votes
1answer
512 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 ...
-2
votes
1answer
10k 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 ...
1
vote
1answer
2k 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> <...
3
votes
1answer
10k 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 ...
4
votes
1answer
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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
28 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, ...
-1
votes
1answer
475 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 ...
0
votes
2answers
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 ...
1
vote
1answer
3k 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 ...
0
votes
0answers
200 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 ...
0
votes
1answer
214 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 ...
1
vote
1answer
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 ...
0
votes
1answer
762 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?...
1
vote
3answers
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 ...
1
vote
1answer
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 ...
0
votes
1answer
487 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/...
0
votes
1answer
451 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 ...
0
votes
1answer
88 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 ...
0
votes
1answer
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 ...
-1
votes
1answer
2k 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 ...
-1
votes
1answer
412 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 ...
1
vote
1answer
564 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 ...
0
votes
1answer
431 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) ...
1
vote
1answer
204 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 ...
0
votes
1answer
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 ...
0
votes
1answer
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=...
2
votes
0answers
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 ...
3
votes
4answers
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 ...
1
vote
1answer
960 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; $...
0
votes
2answers
685 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', '...
1
vote
1answer
9k 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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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['...
0
votes
1answer
107 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 ...
1
vote
1answer
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 ...
0
votes
1answer
3k 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 ...
0
votes
2answers
64 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 ...
0
votes
1answer
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 ...
1
vote
1answer
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, ...
0
votes
1answer
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", "...
0
votes
1answer
69 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 ...
1
vote
1answer
984 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"] =...
0
votes
2answers
445 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 ...