1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Email Address Optional

Discussion in 'XenForo Questions and Support' started by JayX, Oct 17, 2013.

  1. JayX

    JayX Active Member

    How would I set it so email isn't required upon registration?

    Ideally I want 'email address' to be an optional field if a certain option is selected (a custom user field, radio buttons). For example, if I had a question 'subscribe to newsletter' and they pressed the 'yes' radio button, the email address field would become a required field. If they pressed 'no' the email address field would be optional (and they could complete registration without filling that box in). If this is at all possible please let me know, but if not could I get some assistance with my original question?

    Thank you.
  2. Mike

    Mike XenForo Developer Staff Member

    You would need to modify the code directly to do this. Emails are generally required.
  3. rafass

    rafass Well-Known Member

    Sorry for bump this old thread, but I'm looking exactly the same. anyone interested?
  4. The Forum Heroes

    The Forum Heroes Well-Known Member

    How would someone update their password if they forget it?
    Amaury likes this.
  5. rafass

    rafass Well-Known Member

    They could always fill that information before the registration.
    with a notice you can recommend the users to update the email :D
    R 2015-05-28 at 13.58.44.jpg

Share This Page