gravity-forms-plugin

gravity form preview thumbnails for multi file upload field

别等时光非礼了梦想. 提交于 2021-01-27 07:46:12
问题 We are using Gravity Forms to attach multiple images to a gallery custom field and create new post. We can't figure out how to show the image thumbnails under the import HTML5 import field instead of just the file names prior to form submission. This previous answer covers only single file upload: gravity form preview of image upload That mechanism is different it seems. I also see GF offers a JS function to filter the image data returned but I can't figure out how to get the temporary img

gravity form preview thumbnails for multi file upload field

别等时光非礼了梦想. 提交于 2021-01-27 07:45:04
问题 We are using Gravity Forms to attach multiple images to a gallery custom field and create new post. We can't figure out how to show the image thumbnails under the import HTML5 import field instead of just the file names prior to form submission. This previous answer covers only single file upload: gravity form preview of image upload That mechanism is different it seems. I also see GF offers a JS function to filter the image data returned but I can't figure out how to get the temporary img

How to add an extra submit button to gravity form?

房东的猫 提交于 2020-05-16 01:11:34
问题 My site is live and need a bit of customisation to accept PayPal payments along with card payment. It's a non-profit (charity) site. Some info: php: 7.4 ; WP: 5.4; theme: Avada 6.2.2; Gravity form: 2.4.17 Site URL: https://www.sevenspikesrelief.org.uk/test/ My question is, how can I add a button at the end of the form for PayPal and get it to do two things: 1- submit the form 2- redirect user to paypal When I do this using JS (Change the form action when a user clicks PayPal option): var

How do I get the value of a checkbox from the Gravity Forms Entry Object?

久未见 提交于 2020-01-25 06:16:31
问题 This seems like it should be a fairly easy question, but Google is not yielding results. I'm writing a WordPress plugin that processes data from Gravity Forms after the submission is complete. I'm using the gform_after_submission hook. This passes an "Entry Object" to my function for processing. Most of the values I can extract just fine. So for example: $eventDate = $e[2]; ...Works just fine. This is a date field. All I have to do is pull the value out of the entry object with the proper

How do I get the value of a checkbox from the Gravity Forms Entry Object?

风格不统一 提交于 2020-01-25 06:14:08
问题 This seems like it should be a fairly easy question, but Google is not yielding results. I'm writing a WordPress plugin that processes data from Gravity Forms after the submission is complete. I'm using the gform_after_submission hook. This passes an "Entry Object" to my function for processing. Most of the values I can extract just fine. So for example: $eventDate = $e[2]; ...Works just fine. This is a date field. All I have to do is pull the value out of the entry object with the proper

GravityForms - List Field with DropDown on entries column

一曲冷凌霜 提交于 2020-01-14 05:31:13
问题 I use GravityForms List field. I use multiple columns on this list fields. My question is : for one column, can I get a drop-down with multiples choices ? I can implement it in PHP but no idea for API to use. In fact I want just transform a textbox field in dropdown. Have you got an idea ? You can see that I want here : http://img11.hostingpics.net/pics/854196c20150309154121.jpg 回答1: You could also try the Drop Down Options in List Fields for Gravity Forms plugin from the WordPress directory.

How do I get an html/css form to post to Gravity Forms?

筅森魡賤 提交于 2020-01-04 05:25:16
问题 I have a 'Photoshop (.psd) to WordPress' landing page conversion project that I began by converting to a basic html/css page including a nonfunctional, but correctly styled form. The project scope expanded with the need to post user entries to the Gravity Forms plugin in WordPress. How do I need to modify my existing html/css form (since I've already created the styles) and submit the entries to the Gravity Forms form in the WordPress dashboard? I'd like to do this without starting from

gravity forms fire js event on successfull form submission

六眼飞鱼酱① 提交于 2020-01-03 11:32:32
问题 Is it in gravity forms anyhow possible to fire an javascript event on an successful ajax form transmittion? Adding html javascript into the displayed response does not seem to work eg: <script>console.log("successful-form-transmition");</script> 回答1: There's an event fired upon successful Gravity Forms submission: gform_confirmation_loaded . You can use it with jQuery like so: $(document).on("gform_confirmation_loaded", function (e, form_id) { // code to run upon successful form submission })

Adding currency rate to varibles

江枫思渺然 提交于 2019-12-24 22:34:26
问题 add_filter( 'gform_field_value_bank20_code', 'my_custom_population_showcountry' ); function my_custom_population_showcountry( $value ) { $current_user = wp_get_current_user(); $users = $current_user->PROCESSOR; // For the country Afghanistan if( $current_user->PROCESSOR == 'Afghanistan' ) $users = ( '500' ); // For the country Albania if( $current_user->PROCESSOR == 'Albania' ) $users = ( '600' ); // For the country Algeria if( $current_user->PROCESSOR == 'Algeria' ) $users = ( '600' ); //

Gravity Forms API always 401

不羁岁月 提交于 2019-12-22 06:11:52
问题 I am trying to use the gravity forms rest api, https://www.gravityhelp.com/documentation/article/web-api/ but I receive a 401 error no matter what I try. I've tried using all the methods listed in the documentation and in Steven Henty's article, https://www.stevenhenty.com/gravity-forms-api/ but it doesn't seem to work. If I am logged into a wordpress site as administrator should I not be able to use a link like: http://mydomain/gravityformsapi/forms/ Thank you for any suggestions. 回答1: For