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.

WooCommerce Gravity Forms Add-On (Auto Field Populate)

  1. carnavat
    Member

    We're using WooCommerce & WishList Member. Our customer wants to use forms - we recommended GravityForms of course ;)

    They want to know if we can "auto populate" the members contact info into the form using the http://www.woothemes.com/products/gravity-forms-add-ons/.

    So say the person is logged in to the back end - they visit a page that has a GravityForm - can we auto-populate based on their member profile data or previous order info?

    Please advise and thanks! Keep up the great work!

    Carlos

    Posted 12 years ago on Thursday October 18, 2012 | Permalink
  2. This is possible. You can set a merge tag as the default value for a field. So, for First Name, you can use {user:first_name} and for Last Name you can use {user:last_name}. That is how the default WordPress user meta fields are accessed for logged in members. I'm not sure how WLM stores the information you are looking to retrieve.

    All variations of merge tag are documented here:
    http://www.gravityhelp.com/documentation/page/Merge_Tags

    Posted 12 years ago on Tuesday October 23, 2012 | Permalink