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.

Custom User Profile Field populates hidden field in form

  1. I have a custom user profile field: Company Brand Name (company-brand-name) that I created to capture data in the user profile. I'd like that information to pre populate a hidden field in a form. What I have is this:

    Designer Name
    [ {user:company-brand-name} ] in the short text field. Can you guys provide some insight as to what I am doing wrong in calling the custom user profile field? Thanks,

    Posted 13 years ago on Wednesday October 19, 2011 | Permalink
  2. Any ideas on this? Thanks,

    Posted 13 years ago on Friday October 21, 2011 | Permalink
  3. I'm afraid I don't understand your questions.

    How did you create the user profile field? How is it being stored right now? If it's being displayed anywhere, how is it being displayed there (what function or plugin displays it)?

    Once we know where it's stored, we can figure out how to pre-populate a hidden field in your form with that information. Thanks.

    Posted 13 years ago on Friday October 21, 2011 | Permalink
  4. Chris, thanks and sorry to be vague. I can get you a username and password to the site which might help make this a bit more clear. Would that help to be able to see the form as well as the admin side and then I can describe the issue further? THanks,

    Posted 13 years ago on Tuesday October 25, 2011 | Permalink
  5. Sure, if you'd like me to take a look. Please email it to chris@rocketgenius.com

    Thanks

    Posted 13 years ago on Wednesday October 26, 2011 | Permalink
  6. Chris wanted to make sure you received my email with the specifics of the issue. Thanks,

    Posted 13 years ago on Thursday October 27, 2011 | Permalink
  7. I have it Bo. I'll take a look at it on Friday. Thanks.

    Posted 13 years ago on Friday October 28, 2011 | Permalink
  8. Bo, I responded to your email. The information is being stored in three separate tables:

    • wp_cimy_uef_data
    • wp_cimy_uef_fields
    • wp_cimy_uef_wp_fields

    I thought those tables came from this plugin:
    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

    In any event, the data is not stored in the usermeta table, so the merge tag of {user:company-brand-name} will not work, because a) the name of the meta key in your screencase is COMPANYBRANDNAME not company-brand-name and b) it's not part of the usermeta table.

    To use the merge tag of {user:metakey} the meta key needs to be part of the usermeta table and record for that user.

    To get the information out of those other tables, you will need to use whatever functions the plugin provides for accessing those tables.

    If this information does exist in the the usermeta table, I will need to see another screencast to see how it's being stored.

    Thanks.

    Posted 13 years ago on Wednesday November 2, 2011 | Permalink
  9. Bo, I responded to your email from today. Let me know if you have any questions.

    Posted 13 years ago on Friday November 4, 2011 | Permalink
  10. Further clarification on how this can be made to work would be deeply helpful, as I am trying to do exactly the same thing.

    I've used Cimy User Fields to create Mailing Address fields that I wish to send as part of the order data that is collected in my form. Unsure of how to address this data...

    Posted 13 years ago on Monday December 5, 2011 | Permalink