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.

User Registration Custom Meta Not Appearing in Admin

  1. I'm using the latest versions of Gravity Forms and the User Registration Add-On. The custom user meta fields are not appearing in the profile section for users. I was under the impression that these would be added and populated automatically, but maybe that is not the case? Do I still need to hook into the edit_user_profile and show_user_profile hooks to get the data to appear?

    Posted 12 years ago on Tuesday July 12, 2011 | Permalink
  2. Gravity Forms only registers the user and creates the data in the WordPress user tables.

    It doesn't display any custom user meta fields in the User profile page and WordPress itself does not have a Custom User Meta interface on the Profile page like it does with Posts.

    In order for these custom user meta fields to appear in the User profile page you would either have to use another plugin that adds an interface for custom user meta to the User profile page or write your own hook to hook into the user profile page and add these fields. Justin Tadlock wrote a tutorial on how to do this:

    http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields

    We get asked about this a lot. While we are considering adding this as an option to the User Registration Add-On it opens up a can of worms such as where should they be displayed? What order should they be in? Should they be grouped? etc. It quickly snowballs into something it wasn't intended to be which is why we haven't added this functionality yet.

    We try to reign in the scope so it's strictly about form creation, so after the user is registered it's up to the developer to determine what happens next through the use of custom code or additional plugins.

    Posted 12 years ago on Tuesday July 12, 2011 | Permalink
  3. Ok, cool. That makes complete sense though. There are about a million different ways you could organize, structure and combine the custom user data, and it would definitely create more of a headache on your end. :) I just thought I would ask and make sure that I wasn't doing something wrong on my end or that there was a potential plugin conflict. I'm fine with adding them in myself - just wanted to make sure GF didn't already do it. Thanks for the response!

    Posted 12 years ago on Tuesday July 12, 2011 | Permalink
  4. Thanks, I figured i'd explain our view on the matter so you would know why things were done the way they were. We'd still love to eventually add it, but there are a lot of things to take into account before introducing something like this as an optional feature.

    Posted 12 years ago on Tuesday July 12, 2011 | Permalink
  5. You guys might want to add in a process to change the meta_key name entered to be a safe key name. For example:

    I enter in "Shirt Size" in the user registration table and it turns it into shirt_size.

    I know, small detail but it would be nice. That or put a description on that page stating to use lowercase and underscores for spaces :)

    Thanks!

    Posted 12 years ago on Sunday August 21, 2011 | Permalink