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.

API hooks for user registration?

  1. Are there available hooks for the user registration add-on? Specifically, if a user name already exists, I just want to skip the whole registration, rather than generating an error.

    Thanks.

    Posted 13 years ago on Friday February 18, 2011 | Permalink
  2. I know hooks exist, but with the add-on still in development they haven't yet been documented but will be for the final release.

    I have forwarded this post to our developer who is working on the user registration add-on. He will be responding when he gets a chance. It may be a little bit given it's after hours on a weekend now.

    Posted 13 years ago on Saturday February 19, 2011 | Permalink
  3. Hi Brenda,

    The hook you're looking for is called gform_user_registration_validation. Here is an example of how to use it: http://pastie.org/1581176

    I've also made an update to the core to better support overriding the default validation. I will send you a copy by email.

    Posted 13 years ago on Saturday February 19, 2011 | Permalink
  4. That hook was great. Solved the same issue I was having. Many thanks... and looking forward to the User Registration docs.

    Posted 12 years ago on Monday May 23, 2011 | Permalink
  5. Hi phuketnet,

    User Registration documentation is available here:

    http://www.gravityhelp.com/documentation/page/User_Registration_Add-On

    Posted 12 years ago on Tuesday May 24, 2011 | Permalink