Home Forums Plugin Support WP User Frontend Pro Problem With Email Field in Registration Form

This topic is: resolved

This topic contains 6 replies, has 2 voices, and was last updated by  btf122 6 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3808

    btf122
    Participant
    Post count: 11

    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.

    #3822

    Tareq Hasan
    Keymaster
    Post count: 2831

    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)?

    #3824

    btf122
    Participant
    Post count: 11

    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.

    #3825

    Tareq Hasan
    Keymaster
    Post count: 2831

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

    #3826

    btf122
    Participant
    Post count: 11

    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?

    #3829

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #3830

    btf122
    Participant
    Post count: 11

    Ok thanks again Tareq.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Problem With Email Field in Registration Form’ is closed to new replies.