Title: implementing the Gravity Form
Last modified: August 20, 2016

---

# implementing the Gravity Form

 *  Resolved [webguync](https://wordpress.org/support/users/webguync/)
 * (@webguync)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/implementing-the-gravity-form/)
 * I am having some trouble figuring out step 5 in the installation process.
    I 
   have purchased and installed gravity forms and also installed the ridehare plugin.
   I have a page set up with the rideshare short-tag [ridesharelist]. How do I implement
   the gravity form on that page?
 * It looks like the link to “Gravity Forms Custom Post Type enhancement plugin”
   doesn’t work that is listed under the installation tab.
 * thanks
 * [http://wordpress.org/extend/plugins/idealien-rideshare/](http://wordpress.org/extend/plugins/idealien-rideshare/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [webguync](https://wordpress.org/support/users/webguync/)
 * (@webguync)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530107)
 * Just an update, I got the gravity form implemented, and exported the XML so all
   is good there. Will I submit the form though the results aren’t displayed. I 
   just see the message “There are no rideshares available at this time.” How can
   I debug this?
 *  Plugin Author [Jamie O](https://wordpress.org/support/users/idealien/)
 * (@idealien)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530210)
 * The GF CPT enhancement plugin is essential to the connection between the form
   and this plugin. It allows the GF form to create a CPT entry which is what the[
   ridesharelist] short code is looking for. Not sure why that isn’t working for
   you as it is tested to work with the latest version of GF, WP and Rideshares.
   Get that working and your issue should be resolved.
 *  Thread Starter [webguync](https://wordpress.org/support/users/webguync/)
 * (@webguync)
 * [13 years ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530211)
 * the only field that isn’t mapping properly is contact. When I am logged in as
   admin there is a hyperlink that shows up to the admin email address. When I am
   not logged in this area is blank. I created two new fields in GF for name and
   email address, and these two fields are not mapping correctly when displaying
   in the rideshare table. Please let me know what I am doing wrong or how to de-
   bug.
 *  Thread Starter [webguync](https://wordpress.org/support/users/webguync/)
 * (@webguync)
 * [13 years ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530216)
 * how there are several fields still not displaying in the rideshare view. I have
   done research on the custom post types and I have that installed, but not sure
   how to map the fields that aren’t displaying properly.
 * idealien_ridehshare_name, idealien_rideshare_email and idealien_rideshare_returnDate
   are the three fields that I have form values for, but not displaying in the Rideshare
   table.
 * Please assist!
 *  Thread Starter [webguync](https://wordpress.org/support/users/webguync/)
 * (@webguync)
 * [13 years ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530217)
 * any help?
 *  Plugin Author [Jamie O](https://wordpress.org/support/users/idealien/)
 * (@idealien)
 * [13 years ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530228)
 * Is the data being captured via the form?
    - Check that your fields (in GForm) are mapped to custom fields in the CPT?
    - If you view a submitted rideshare via admin console does the data display 
      on that screen? What if you also display custom fields (via the Screen Options
      tab in upper right)?
 * If your data is in the CPT entry and you are working with new fields, you’ll 
   have to customize the plugin to display your output in desired manner. It sounds
   like you’d want to look at the function idealien_rideshare_shortcode around lines
   1300 – 1320 where the user info / link is generated. I had made some progress
   on a more advanced notification system supporting BuddyPress but that might relate
   to your issue.
 *  [Veerle Verbert](https://wordpress.org/support/users/littlekitten/)
 * (@littlekitten)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530256)
 * think you’ve experiencing (partly) the same problem as me, after logging about
   everything i found the post meta was being saved properly, but immediately errased
   by the wp_insert_post method in the plugin.
 * solution for me:
    – adding a nonce field in the meta box (in the form in the 
   meta_options_details function): `<?php wp_nonce_field('idealien-rideshare-postmeta','
   idealien_rs_nonce'); ?>` – checking the nonce in the wp_insert_post function:
 *     ```
       // origination and intention
       if ( !isset($_POST['idealien_rs_nonce']) || !wp_verify_nonce($_POST['idealien_rs_nonce'], 'idealien-rideshare-postmeta') ) {
         // error_log('no matching nonce, get out of here!');
         return $post_id;
       }
       ```
   
 * & best to add extra checks to avoid messing up the meta on auto save & when a
   user isn’t supposed to edit the rideshare:
 *     ```
       // don't run this for autosaves
       if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
        	return;
   
       // quit if this user isn't allowed to do this
       if(!current_user_can('edit_post', $post_id)) :
       	return false;
       endif;
       ```
   
 * (must admit i’m working on a previously forked version of 0.1, but it seems the
   most recent version has this issue as well, pls correct me when i’m wrong)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘implementing the Gravity Form’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/idealien-rideshare.svg)
 * [Idealien Rideshare](https://wordpress.org/plugins/idealien-rideshare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/idealien-rideshare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/idealien-rideshare/)
 * [Active Topics](https://wordpress.org/support/plugin/idealien-rideshare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/idealien-rideshare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/idealien-rideshare/reviews/)

## Tags

 * [rideshare](https://wordpress.org/support/topic-tag/rideshare/)

 * 7 replies
 * 3 participants
 * Last reply from: [Veerle Verbert](https://wordpress.org/support/users/littlekitten/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/implementing-the-gravity-form/#post-3530256)
 * Status: resolved