Transparent Overlay for Gravity Forms Ajax Spinner

I don’t think the :before selector can be a full screen overlay when the parent is set to fixed, it will only consume the height/width of the parent element. This certainly works (adjusted elements and css classes aside). <style type=”text/css”> .myspinner { position: fixed; z-index: 100002; background:red; top: 50%; left: 50%; transform: translate(-50%, -50%); transform: … Read more

How do I add custom fields to Gravity Forms? [closed]

You can create a separate conditional text field. Create a multiple choice question with your three options plus your “other” selection. Enable the value fields and assign a value of “0” or “-1” to “other.” Add a text box next and then go to the “Advanced” tab and check “Enable conditional logic.” Configure the appropriate … Read more

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

Put the add_filter() call in the init function: public function init(){ parent::init(); add_filter(“gform_submit_button”, array($this, “form_submit_button”), 10, 2); add_filter(“gform_confirmation”, array( $this, ‘custom_confirmation’ ), 10, 4 ); } And then add your custom_confirmation() function as a method to the class: class GFSimpleAddOn extends GFAddOn { /* all the other properties and methods */ public function custom_confirmation($confirmation, $form, … Read more

Update another users meta

wp_ajax_nopriv_{$action} can trigger a non-logged in ajax request. add_action( ‘wp_ajax_nopriv_add_foobar’, ‘prefix_ajax_add_foobar’ ); function prefix_ajax_add_foobar() { // Handle request then generate response using WP_Ajax_Response } get_user_by can pull the user’s data via email $user = get_user_by(’email’, ‘[email protected]’) update_user_meta can update the user’s metadata. update_user_meta( $user->ID, $meta_key, $meta_value, $prev_value );

Gravity Forms: Limit entries by number of times of a certain field value and date

This is possible with my GW Submission Limits. It supports limiting by any number of submissions for almost any time period and can be filtered by field value. Update To more specifically address your scenario, here’s a query that will return the entry count for one of your values. SELECT count( l.id ) FROM wp_rg_lead … Read more