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
0 votes
1 answer
58 views

Update media library image shown in "attachment details" when using wp_insert_attachment to add item to the media library

I'm using the function wp_insert_attachment() to run on a form submission from GravityForms, take a file uploaded in the form, and add it to the WordPress Media Library. Code in functions.php below, ...
user avatar
  • 146
0 votes
0 answers
12 views

How to download CSV from sub directory in uploads folder

hello guys i donot have experience working with the csv. I have a very big form i wanted to make a custom csv export for this form and a new csv is generated every time the form is submited. i am ...
user avatar
0 votes
0 answers
13 views

gravity form merge multiple records with the same id

Hi I would like to register a book several times once for each different language, now I would like to realize that if a user searches for a book id, all the cards I have registered for each language ...
user avatar
  • 1
0 votes
0 answers
12 views

Gravity Forms & Flow - dynamically create list row and populate row fields

:) I have a big gravity form with conditional fields. If a field is relevant - only if relevant - I would like the data from that field to be passed to a LIST field. I would like it to create a new ...
user avatar
0 votes
0 answers
6 views

gravityforms chart

Is there any easy way to implement some charts for the gravityforms submitted data (and being able to filter it) without having to spend 500$ on a premium plugin/addon? I would like to create a page ...
user avatar
0 votes
1 answer
28 views

Gravity Form Repeater File/Media Upload Not Working

Gravity form repeater currently not support file/media upload as mentioned in doc. I am wondering is there anyone who fixed that issue or any solution that can help me? I am getting following error:
user avatar
0 votes
0 answers
19 views

gravityform - retrieve multiple check answers "keys" instead of "values"

I need to implement a custom math sum relative to the answers of a multiple checkbox question. Let's suppose I have a question like this: Question: first choice second choice third choice If I "...
user avatar
0 votes
0 answers
45 views

using shortcodes inside gravity forms

I'm struggling to use a custom short code (added by some plugin named short code plus) inside a hidden input in gravityforms the short code is [user_firstname] which as it's obvious it shows the users ...
user avatar
0 votes
0 answers
11 views

Gravity Form - notification if some values not match

We have dropdown, where you have to choose from 1-6 persons. After that we have checkbox where to choose Roomtype(this is dynamic). We want to have some kind of notification if choosen roomtypes not ...
user avatar
0 votes
0 answers
33 views

how to resubmit a submitted form with gravity forms plugin

I want to use gravity forms for build a small shopping website, I showed the submitted form's of a user in profile page by gravity view plugin. Now, I want to make a way to resubmit a form with ...
user avatar
  • 101
1 vote
0 answers
77 views

Gravity form Load By Ajax Cannot Submit - Error 400

I have an issue with Gravity forms. I successfully loaded Gravity Forms via ajax, but I got an error of 400 when I submit the form. I tried all solutions but still can't submit the forms. here is my ...
user avatar
0 votes
1 answer
23 views

Gravity Forms Multiple Dates Filled by 1st Date

I'm trying to figure out if there is a way to have multiple dates on a form be filled by the first date. I have 14 dates on the form. I want the user to pick the date on the first date and have the ...
user avatar
0 votes
1 answer
40 views

GitHub plugins safe to use in my website?

I have some question about GitHub files, I hope it is a proper place to ask. I downloaded the gravity forms from https://github.com/wp-premium/gravityforms You may know that the plugin itself is sold ...
user avatar
  • 103
0 votes
0 answers
51 views

Gravity Forms - Custom Merge Tag Convert date_created to Local/WordPress Time?

I create a number of custom merge tags on my forms, one of which is "Date Submitted" which references the Gravity Form 'date_created' property as seen here https://docs.gravityforms.com/...
user avatar
0 votes
0 answers
64 views

Dynamically populate parameter in Gravity Forms using PHP

I have a global form I want to implement on our Product Catalogue, the product catalogue is written entirely in php (not a plugin) and it has a category and product filter. When you click on a product ...
user avatar
  • 1
0 votes
1 answer
26 views

Which capabilities are available in Gravity Forms Salesforce plugin? [closed]

Which capabilities are there in Gravity Forms Salesforce plugin and what do they do?
user avatar
0 votes
0 answers
15 views

How to create multipage form and redirect to specific URL based on inpput?

I want to create multi page form, where first page will take information about user, second page will take information about product which he likes and third page user will subscribe either one time ...
user avatar
0 votes
1 answer
39 views

Remove an action created by a Gravity Forms add-on

I'm using Gravity Forms User Registration add-on and need to remove the action that include the activate page. In the add-on, the hook is called like this: add_action( 'wp', array( $this, '...
user avatar
0 votes
1 answer
177 views

Create a form with custom autocomplete address field and CSV import values

I want to create a contact form with 2 sections. The first section includes an address field. I have a repository of 100,000 addresses in CSV format. I need to import all addresses into the address ...
user avatar
  • 274
0 votes
0 answers
181 views

Display post content based on user's selection from dropdown

I have a set of dropdowns pupulated with auto-moto data, eg. Select car brand: (list of all brands), when I select eg. Brand1, then I get to select Car model from another dropdown, ... etc. Now I have ...
user avatar
0 votes
0 answers
66 views

Gravity Form: Display Success Message above the Form

I am using Gravity form with Elementor Pro. I have 3 different forms created in gravity form: login, forgot password and reset password I am calling My form through the Elementor Popup template. When ...
user avatar
0 votes
0 answers
1k views

Deferring Script wp-i18n causes a console error 'wp is not defined' - Gravityforms

I am deferring JS scripts in order to optimize page load times and SEO. My code to defer scripts is something like: add_filter( 'script_loader_tag', // Filters the HTML script tag of an enqueued ...
user avatar
0 votes
1 answer
17 views

Gravity Forms parameters return 1

I'm not sure what's causing gravity forms $entry and $form parameters to return 1. Here is my class. namespace GrvityFormsIntegration\DataTools; ini_set( 'error_log', WP_CONTENT_DIR . '/debug.log' ); ...
user avatar
1 vote
2 answers
212 views

Restricting product quantity field to numbers only in Gravity Forms

How can i restrict the product quantity field to numbers only in Gravity Forms. And how can we add some increment arrow to the quantity field? like on this demo ? http://demos.gravitywiz.com/gp-...
user avatar
0 votes
1 answer
68 views

Using $WPDB to create simple array to check against user entered value

I have a function that checks an entered value against a simple array of values to determine a match (or not). function validate_unit_type( $result, $value ) { $pattern = ["U" ,"SE&...
user avatar
1 vote
0 answers
135 views

Shortcodes — Using add_action, add_filter in the shortcode

A client wants the following: User clicks on a specific button which takes them to a partner's site. If this is their first time clicking the link, they need to accept terms and conditions. If they'...
user avatar
  • 31
1 vote
1 answer
101 views

Capture User Email Address When Filling Out Form

We have a snippet of code that was provided by an optimization platform company we use that provides a real-time personalization to our website. The user will fill out a form (Gravity Forms) and then ...
user avatar
  • 63
0 votes
1 answer
340 views

Gravity Forms non-empty Total field values not submitted [closed]

I have created a gravity form and used several Total fields. Although I do not have any Product fields in my form, which the Total field is usually used to display the total of product prices, I used ...
user avatar
1 vote
1 answer
481 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, ...
user avatar
0 votes
0 answers
14 views

Updating user meta adds string count to value?

I am using Gravity Forms to update user meta. The user meta has to be serialized for another plugin, so I have to catch the value and convert it using the gform_pre_submission action before it gets ...
user avatar
  • 281
1 vote
0 answers
735 views

Add PDF to ACF image field from file url

I am basically looping some fields from a gravity form entries. I using this function below to pass a file url into $filename and convert the file into a media library item, and then attaching that ...
user avatar
  • 432
0 votes
2 answers
394 views

Gravity Forms: How to add PHP function to confirmation conditional shortcode?

In Gravity Forms, I have a confirmation set up with various conditional shortcodes. Example: [gravityforms action="conditional" merge_tag="{:3:value}" condition="contains"...
user avatar
  • 281
0 votes
0 answers
421 views

Trouble Accessing Gravity Forms API (GFAPI)

I'm having trouble figuring out where I should be registering my function in such a way that I can access the Gravity Forms API (GFAPI). At first glance, this may appear to be native to Gravity Forms, ...
user avatar
0 votes
0 answers
583 views

How to capture hidden values with Gravity Forms

I will be using the following code from ActiveProspects and what it do is basically pass some hidden values (in this case basically a dynamic url) to the server along with the form fields which we ...
user avatar
0 votes
1 answer
431 views

Doing Math with Gravity Forms List

While working on a client site utilizing Gravity Forms, I found myself wanting to use the aesthetic of the advanced list Gravity provides, but needed a bit more arithmetic firepower (read: any, ...
user avatar
0 votes
0 answers
30 views

Confuse between forms and tables

I’m get confused between these notion and i don’t know wheres to start from for my project. I juste want to have the possiblities to get multiple evaluation to person (list of sportif) from the font-...
user avatar
0 votes
2 answers
229 views

Wordpress - Gravityforms https:// is not a valid url

I have a Wordpress based website that uses gravity forms. I have the gravity form loading in a jquery model window. My issue is the form seems to work except for after submission the form just stays ...
user avatar
  • 101
0 votes
1 answer
312 views

Gravity forms / Recaptcha / Autoptimize - somewhere it goes wrong

I am using Gravity Forms and have recently started using their Google Captcha integration. (We also use Autoptimize ) The problem I have is that de captcha validation goes wrong, but I am not sure ...
user avatar
0 votes
1 answer
64 views

edit_user_created_user hook - using to update Groups

I am integrating Gravity Forms, Gravity Forms User Registration Add On and Groups by ithinx. I have written the following function: add_action( 'edit_user_created_user', 'hl_add_group', 10, 1 ); ...
user avatar
  • 13
0 votes
1 answer
562 views

Write gravity forms field values to server file before submission

I have a gravity form and I want to write the values of the fields to a server file, before submission, to capture people who don’t finish the form. I know there is a partial entries add on but I ...
user avatar
-1 votes
2 answers
3k views

Gravity Forms - Prevent Multiple Form Entries Same User ID with Same Field Value

I have a form where users will submit a timecard.All entries to this form will be from users who are logged in (this part I have figured out).Users will enter their name, the amount of hours, and ...
user avatar
  • 1
0 votes
1 answer
10 views

Trying to modify the background of a form on a specific page

Here's my CSS: .page-id-9399 body #gform_wrapper_3 { background-color: #363c42; } This is related to a Gravity Forms (contact form submission). I'd like the background of the FORM to be the ...
user avatar
  • 985
0 votes
1 answer
257 views

Modify gform_other_choice_value for specific form and specific field in Gravity Forms

I am looking to change the "other" text for a single specific field on a specific form in Gravity Forms. It seems gform_other_choice_value does not work the way some of the other Gravity Forms ...
user avatar
0 votes
0 answers
182 views

How to use third-party SendGrid Email Validation API in Gravity Forms?

Please let me know how to use SendGrid Email Validation API in Gravity Forms, using gform_field_validation filter? Gravity Forms filter example: add_filter( 'gform_field_validation', function ( $...
user avatar
0 votes
2 answers
1k views

Pass created post id from gform_after_submission action to gform_confirmation filter?

I am trying to create a post when my Gravity Form submits and redirect to the post permalink on form confirmation. See below the function which creates my post/order when my form submits using the ...
user avatar
  • 432
0 votes
0 answers
31 views

Add (populate) multiple dynamic fields trough a url query

So I'm using gravity forms to let users send a form where the can ask for a sample product. They do this by clicking an image from an image gallery. At this point, I'm able to create a URL to the form ...
user avatar
  • 1
1 vote
1 answer
191 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 ...
user avatar
0 votes
2 answers
595 views

Passing data from after_submission action to the confirmation filter in gravity forms?

I am creating a post within gform_after_submission action, which sets a post ID variable when the post is successfully created. https://docs.gravityforms.com/gform_after_submission/ add_action('...
user avatar
  • 432
0 votes
1 answer
47 views

Am i doing something wrong by getting plugins from github repos?

I was trying to add paypal payment to my website, I'm using Gravirty form with stripe add-on but not paypal add-on. I happened to find a github repo for the (paypal addon). so I downloaded it then ...
user avatar
0 votes
1 answer
1k views

How to get a custom entry field label with Gravity Forms?

I want to get a JSON object like [{"Video link": "https://www.youtube.com/watch?v=r",....},...] from form entries with "labels". Now I am using this code $form_id = '1'; $form = GFAPI::get_form( $...
user avatar
  • 103

1
2 3 4 5 6