PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Problem Mapping GF Advanced Fields to Custom Field

  1. environment-asean
    Member

    I map all my gravity form fields to custom fields using Gravity Forms + Custom Post Types and then query it on my page using get_post_custom(). All good, except when i map GF advanced field e.g. LIST, NAME, etc, (obviously it is not supported by standard wordpress custom field), the data doesn't seem to be stored on the DB.
    I tried to map the GF List field that has three columns and user can add mutiple entry to WP textarea or WYSWYG field called contact_name. But when I look at my database, there's no data captured on the contact_name field key.

    Any idea on how to map GF advanced field to WP custom field?
    please help.
    thank you

    Posted 11 years ago on Monday March 11, 2013 | Permalink
  2. elawsoftware
    Member

    I'm looking for the same solution to map GF name and address fields to a custom field on a Custom Post Type.

    Posted 11 years ago on Tuesday March 12, 2013 | Permalink
  3. Can you try this without the Custom Post Types plugin and see if it works? I tested this recently and my complex inputs were stored in custom fields as expected.

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  4. environment-asean
    Member

    The thing is, i wan't all stored data to be saved as posts, that's why I map GF form to custom fields.
    Yes I can pull the data from GF database, but that's not the intention.
    I want to create a real WP post where all the data is stored as post meta. That way, I will have original WP posts that are searchable, flexible, and usable -- even when I am no longer using GF.

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  5. You don't need to use the custom post types plugin to store information in your post as post meta. When posts are created with Gravity Forms, the entry is disconnected immediately from the post. The post will exist long after Gravity Forms is gone.

    My suggestion to disable to custom post type plugin was to see if Gravity Forms works as expected without it, as a debugging step. I recently tested for this very same problem, and the complex inputs and list fields were stored in the postmeta table in custom fields. I would like to see if that is working for you, without using the 3rd party plugin.

    Posted 11 years ago on Thursday March 14, 2013 | Permalink
  6. environment-asean
    Member

    Hi Chris,
    Thank you so much for bearing with me here. But I use custom post type. GF can't originally map form to custom post type, right?

    Posted 11 years ago on Friday March 15, 2013 | Permalink
  7. That's correct. But we're just trying to find out if the problem with writing the custom fields is related to using the custom post type plugin or not.

    Posted 11 years ago on Sunday March 17, 2013 | Permalink
  8. elawsoftware
    Member

    I was able to get the name and address fields to post to custom fields on my Custom Post Type.

    Posted 11 years ago on Wednesday March 20, 2013 | Permalink
  9. environment-asean
    Member

    Hey, Bill. Mind to share how? this thing has driven me bonkers.
    your help would be so much appreciated.
    thanks

    Posted 11 years ago on Monday March 25, 2013 | Permalink
  10. environment-asean
    Member

    Hey there, is there any update on this issue?
    I am still waiting. patiently.
    :-)
    Thanks

    Posted 11 years ago on Wednesday April 10, 2013 | Permalink