• Hi All

    I’m very new to this sort of work on my own projects.

    I checked various plugins and all were either too old and/or too much functionality.

    I’ve use Justin Tadlock’s blog to add some user meta. I’ve read the Codex and I’m lost. As I can’t work out why the code doesn’t save the new meta.

    My aim is for a registration using the gravity forms registration addon and the additional user meta to be saved.

    I’ve got the form and the connections to the meta set up (but when I test the save on my own user meta it won’t save).

    What have I missed?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    As you use a commercial plugin and need support, please use their official support channel. We feel they are best equipped to support their products.

    https://www.gravityforms.com/support/

    Thread Starter Beagle99

    (@beagle99)

    Hi sarmisrha1990

    Thanks for getting back to me. The issue I am having has nothing to do with gravity forms. I was just giving context to my issue.

    My issue is purely about adding user_meta and what is wrong with the code I have provided.

    Any help would be appreciated ??

    Moderator bcworkz

    (@bcworkz)

    Try moving your profile and option update hooks and related callback declaration from within the form table out to normal plugin or theme code that is processed on page load.

    It currently is only interpreted when the profile screen loads, not when the form is submitted.

    Oh, BTW – the page you need help with field is intended for live links to your own site that illustrate the issue you have. When you use it to link to PHP code (admittedly a clever use), many readers miss your intent. In the future, linking to source code in your topic body will prevent misunderstanding.

    • This reply was modified 7 years, 5 months ago by bcworkz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding User Meta’ is closed to new replies.