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.

How can I tell if a WP user has completed the form or not?

  1. cju
    Member

    Seems simple enough, but not finding anything on this subject.

    I have a form I'd like all my WordPress users to complete. Is there some way I can check (while they are logged in of course) to see if the current user has completed a specific form or not?

    Posted 12 years ago on Friday December 30, 2011 | Permalink
  2. When a user is logged in and submits a form, the entry created stores the id of the user. This is the field created_by in the wp_rg_lead table.

    You could write some custom code in the gform_pre_render hook to check the database lead entries for your form to see if one were created by the logged in user. Documentation for that hook can be found at: http://www.gravityhelp.com/documentation/page/Gform_pre_render

    Posted 12 years ago on Monday January 16, 2012 | Permalink

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