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

XF 1.5 How to create required checkbox custom user field on registration?

Discussion in 'XenForo Questions and Support' started by RobinHood, Sep 16, 2016.

  1. RobinHood

    RobinHood Well-Known Member

    I'd like to have a checkbox on user registration that must be checked to verify a user is over a certain age in order to join.

    I created a check box user field.

    Gave it a single possible choice field.

    Made sure it was required, and to show during registration.

    But it doesn't seem to be appearing. Any ideas?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If it's not appearing on the registration form, either the criteria is incorrect or it could be a custom style issue.
  3. RobinHood

    RobinHood Well-Known Member

    Thanks, got it sorted.

    I had to ensure it was set to user editable only once. I thought that would mean they could edit it once after they had registered, but it works just for registration.
  4. Mike

    Mike XenForo Developer Staff Member

    Specifically, it means that they can set the value once. Existing users will need to set the value if they go to edit their profile.
    RobinHood likes this.

Share This Page