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
24 views

Issue with dynamically populating address fields with Gravity Forms

Using the gform_pre_render_ hook I receive the error when attempting to populate the default values: Fatal error : Uncaught Error: Attempt to assign property “defaultValue” on array in… This is the ...
Tommizzy's user avatar
0 votes
0 answers
22 views

Trying to use value in form submission to check against external API

I'm trying to be as concise as possible. I'm building a form that takes a value ('address') which in turn would get posted to an external API. However, the real functionality comes with checking the '...
Cynthia Wong's user avatar
0 votes
0 answers
11 views

Function for Post Creation plugin for Gravity Forms

add_action('gform_after_submission_33', 'customize_submission_values_for_custom_post_type', 10, 2); function customize_submission_values_for_custom_post_type($entry, $form) { if ($form['id'] != ...
JoaMika's user avatar
  • 668
0 votes
2 answers
115 views

gravity forms api get_entries filter with created by id

This seems like an extremely simple question, but no matter how I slice it, I need to get data entered by manager and it's employees. Like Manager A added 5 locations, than I want to get those 5 ...
Dharmik's user avatar
  • 101
1 vote
0 answers
219 views

htaccess file prevents js scripts to run

In my WordPress website whenever the htaccess file is added to my public_html folder, I have so many errors in my js files. for example: Uncaught TypeError: gform.initializeOnLoaded is not a function ...
Arash Naderi's user avatar
0 votes
0 answers
11 views

Is it posible to multiple entry value before submit Gravity forms?

Is there any way to do this case in Gravity forms: I use: Gravity Forms Gravity Forms Multi Pages I have three steps: Step 1: contain Option Field Step 2: also contains the option Field Step 3: ...
Baim Whello's user avatar
0 votes
1 answer
46 views

Gravityforms login form custom redirect if form not submitted

I am using Gravity forms with Wordpress. For project I want to add function that allow to redirect to different pages based on condition: loginin person didnt submit specific form. For example after ...
user2482734's user avatar
0 votes
0 answers
27 views

Pass form fields values from JS to PHP

I have a custom Gutenberg block plugin containing a custom HTML form. In my block I have a init.php file, where I'm enqueueing a Google Maps API library. All the frontend of the map is in jQuery. ...
TsvetkoKrastev's user avatar
0 votes
0 answers
60 views

Gravity Forms Pre Submission Check

I have only one field with an email address. If the field is empty, i don't want the form to be submitted at all, but just focus on the field. I have tried many variations but no matter what i do, the ...
JoaMika's user avatar
  • 668
0 votes
1 answer
38 views

How to apply_filter / add_filter within 2 others (simultaneous?) add_filter

I'm setting up a new form tracking system for my website (the form framework is Gravity forms). The codebase consists in a parent theme, plus 3 child theme (one for the main website, one for the shop, ...
Enrico Cassinelli's user avatar
0 votes
0 answers
30 views

Display months on a drop down calendar as TEXT instead of Numbers

Trying to display MONTHS as TEXT (Juanuary) instead of NUMBER (1) in a drop down calendar (gravity form) I tried this code but if you select a MONTH and then press a button into the FORM it will ...
StonebridgeGR's user avatar
0 votes
2 answers
729 views

Gravity Forms with Advanced Post Creation Add-On not updating ACF fields on custom taxonomy

I've tried everything I can think of and read about. I cannot seem to figure out why this doesn't work, let alone get it to work. I have a Custom post type called Talk. That custom post type has a ...
whakawaehere's user avatar
0 votes
1 answer
196 views

How to overwrite image if it already exists - Wordpress, Gravity form

How do I make the old file replaced when the user uploads a new one? Now the files are named a1.jpg, a2.jpg, a3.jpg. If the user uploads a.jpg, then I want to overwrite the a.jpg that already exists. ...
Masterior's user avatar
0 votes
0 answers
50 views

How to deactivate gravityforms WordPress plugin

I have a WordPress site which uses the gravityform plugin. Under certain circumstances I would like to deactivate the plugin programmatically and have it both be deactivated in the front end and show ...
Michael's user avatar
  • 11
0 votes
1 answer
158 views

Gravity Forms and Gravity View Permissions

I have a pretty direct question. I am trying to figure out how to programmatically prevent users from being able to view other users' form submissions. Currently, using Gravity View, any logged in ...
MrChoop's user avatar
0 votes
2 answers
710 views

Transparent Overlay for Gravity Forms Ajax Spinner

I am using this code to center a custom ajax spinner for gravity forms submission. The spinner is centered based on the location of the gravity forms. I would like the spinner to be always centered ...
JoaMika's user avatar
  • 668
0 votes
0 answers
44 views

Gravity Forms data to SOAP Service says Could not connect to host

I want to send some selected fields of a gravity form to a soap service whenever a user/visitor submits form This is the soap markup the service provider gave me: Web Raw Details POST http://192.168.1....
Kobbe's user avatar
  • 1
0 votes
1 answer
850 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, ...
Mike Eng's user avatar
  • 258
0 votes
1 answer
180 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:
Muhammad Ahmad's user avatar
1 vote
1 answer
880 views

Gravity form Load By Ajax Cannot Submit - Error 400 [closed]

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 ...
Baim Quraisy's user avatar
0 votes
1 answer
148 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 ...
Killian Consulting's user avatar
0 votes
1 answer
83 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 ...
asad's user avatar
  • 103
0 votes
0 answers
168 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/...
Blake Miller's user avatar
0 votes
1 answer
32 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?
Evert S.'s user avatar
0 votes
0 answers
19 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 ...
German Bernal's user avatar
0 votes
1 answer
135 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, '...
marcelo2605's user avatar
0 votes
1 answer
529 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 ...
Samuel's user avatar
  • 344
1 vote
0 answers
6k 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 ...
Meyer Auslander - Tst's user avatar
0 votes
1 answer
21 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' ); ...
Best Dev Tutorials's user avatar
1 vote
2 answers
488 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-...
DeathByDisco's user avatar
0 votes
1 answer
136 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&...
Andy Mainwaring's user avatar
1 vote
0 answers
255 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'...
Tomasch's user avatar
  • 31
1 vote
1 answer
207 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 ...
Webman's user avatar
  • 63
0 votes
1 answer
680 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 ...
authentictech's user avatar
1 vote
1 answer
995 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
0 votes
0 answers
34 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 ...
Michael's user avatar
  • 281
1 vote
0 answers
1k 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 ...
joshmoto's user avatar
  • 447
0 votes
2 answers
738 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"...
Michael's user avatar
  • 281
0 votes
0 answers
858 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, ...
sacredfaith's user avatar
0 votes
0 answers
935 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 ...
Sk Samim's user avatar
0 votes
1 answer
620 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, ...
sacredfaith's user avatar
0 votes
0 answers
31 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-...
Sebastien MAH's user avatar
0 votes
2 answers
411 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 ...
Jayreis's user avatar
  • 101
0 votes
1 answer
433 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 ...
thegirlinthecafe's user avatar
0 votes
1 answer
119 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 ); ...
NYCjbd's user avatar
  • 13
0 votes
2 answers
4k 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 ...
Ben Shapiro's user avatar
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 ...
Henry's user avatar
  • 983
0 votes
1 answer
520 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 ...
Travis Pflanz's user avatar
0 votes
0 answers
282 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 ( $...
Parth Solanki's user avatar
0 votes
2 answers
2k 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 ...
joshmoto's user avatar
  • 447

1
2 3 4 5 6