Problem With Email Field in Registration Form

This topic contains 6 reply and 2 voices, and was last updated by btf122 10 years, 11 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
May 18, 2013 at 1:51 am 3808
btf122 I have created a registration form that requires user to input their email address. When I try to create a user and input all my information, including my email address, and click register, I get a popup that says "An email address is required." Please advise why this is happening even though I have entered an email address. Thanks.
May 18, 2013 at 11:56 am 3822
Tareq Hasan Tareq Hasan

Have you inserted the email field from the “Profile Fields” area? Then it shouldn’t be happening. I am not sure what might got wrong. In that case, can I see your site (post login details as private reply)?

May 18, 2013 at 2:38 pm 3824
btf122 btf122

Tareq, I inserted the email field from the custom area. I just changed it to the email field from the profile fields area and that seems to have fixed the problem.

One other problem has arisen though. When a user registers for an account and clicks register, it does not automatically log the user in. It directs them back to the homepage where they have to login again. Is there a way to set it so the user is automatically logged in when they register.

Also, is there a way to require email confirmation where the user must activate their account by clicking on a link in their email?

Thanks for your help.

May 18, 2013 at 2:50 pm 3825
Tareq Hasan Tareq Hasan

For automatic login, see here. You might use theme my login or some other plugins to verify the user email address.

May 18, 2013 at 3:05 pm 3826
btf122 btf122

Thanks Tareq! That code works perfectly for automatic login.

For user email verification, I currently have Theme My Login set to verify email address but since I have overridden the registration with my custom WP User Frontend registration form, the verification isn’t operating. If I download a separate email verification plugin it will integrate with the WP User Frontend registration form to require email verification?

May 18, 2013 at 3:41 pm 3829
Tareq Hasan Tareq Hasan

I haven’t tried the email verification of Theme My Login’s. But as WP User Frontend also fires the same action hooks as the default WP registration form, any standard email verification plugin should work.

May 18, 2013 at 4:05 pm 3830
btf122 btf122

Ok thanks again Tareq.

Viewing 6 Posts - 1 through 6 (of 6 total)