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.
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.
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.
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.
That hook was great. Solved the same issue I was having. Many thanks... and looking forward to the User Registration docs.
Hi phuketnet,
User Registration documentation is available here:
http://www.gravityhelp.com/documentation/page/User_Registration_Add-On