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.

Check from outside gravity forms if a user has submitted a form or not?

  1. I'm writing a function to post a url to a logged in user only if they have filled in a form.

    what is the best way to check whether a user has filled in the form?

    Can i limit them to only filling the form in once?

    Posted 13 years ago on Tuesday January 17, 2012 | Permalink
  2. Hi, fr35ht,

    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 13 years ago on Wednesday February 1, 2012 | Permalink

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