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.

What is the purpose of registration form entry data after activation?

  1. BrianPx
    Member

    During the registration process using gravity forms and the registration add-on, users and their associated field entries are stored in forms entries. When the user is activated, the form field data is transferred to a newly added WP profile (although custom fields are not displayed in the profile page).

    What is unclear to me what I am supposed to do with the form entries at this point. The user data has been transferred to the user profiles so why keep the form entries? If I delete the form entries of a user, that user is still within the normal WP user database. It seems confusion to hold two user lists. Additionally, any changes to a user profile with WP won't change the original form entry of the user. So the two user lists are now out of sync.

    Am I missing something? Is the forms entry only useful until activation of the user?

    Posted 10 years ago on Sunday July 7, 2013 | Permalink
  2. Richard Vav
    Administrator

    Gravity Forms is first and foremost a way to collect information so any entries are automatically stored in the database, now when using the User Registration add-on that entry is used to create a WordPress profile but it may be possible to remove the original Gravity Forms entry by adding a function to your theme's functions.php file.

    Check out the following post for one possible solution http://www.gravityhelp.com/forums/topic/purposefully-not-save-form-in-entries-database#post-15601

    Posted 10 years ago on Sunday July 7, 2013 | Permalink
  3. BrianPx
    Member

    That is very cool. So if I am understanding this correctly, when a user registers with gravity form/user-registration add-on both the form entry and WP profiles are populated simultaneously (whether or not the user has been activated)? Doesn't the user need approval (activation) before the data is transferred to the WP profile though? And if so, would deletion occur before activation? Forgive the newbie questions. I'm still trying to wrap my head around the process.

    Posted 10 years ago on Sunday July 7, 2013 | Permalink
  4. Richard Vav
    Administrator

    I suspect if you use that function when you have user activation enabled the entry will be deleted before the profile is created, so as it stands you shouldn't use that function if user activation is enabled. I will ask David about this when the guys return on Monday.

    Posted 10 years ago on Sunday July 7, 2013 | Permalink
  5. Richard Vav
    Administrator

    Hi Brian,

    David has suggested using the "gform_activate_user" hook that fires after the user has been activated, here is the link to the updated code: http://pastie.org/8121993

    Regards,
    Richard

    Posted 10 years ago on Monday July 8, 2013 | Permalink

This topic has been resolved and has been closed to new replies.