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.

Trigger Registration for Existing GF Form

  1. I've got hundreds of users in a GF form that I really need to get into the WP users backend. Is there ANY way I can setup something to trigger the registration action for existing records in a GF form? The form was not originally tied to a GF registration form, but now it is, but I have no way (at least that I can tell) to get all the user info into my WP user meta data.

    Posted 9 years ago on Monday November 5, 2012 | Permalink
  2. You would need to code something yourself. Gravity Forms works with the data that is submitted by a form, including user registration if you are using that add on. At this point, Gravity Forms has nothing to do with those users, other than the fact that it stores their name and email address.

    You would write a single-use script which utilizes the wp_create_user function.

    Read all the information from the entries table that you need, and loop through the data, calling the wp_create_user function each time.

    You could use the function instead, but the process will be the same. Your script will read all the entries which were collected by your form, and create user records from that data. This is not Gravity Forms functionality but WordPress functionality.

    Posted 9 years ago on Tuesday November 6, 2012 | Permalink