XF 2.3 Custom User Field On Registration

RoyalRumble

Well-known member
Hello,

I hopeful someone can kindly assist with a question I have.

I'd like have to enable an option during registration that forces the user to confirm they're 16+ to be able signup.

I'm having difficulty and hoping someone can glance over the below and advise how I'm going wrong.

The below is the custom user field;

1734868078908.webp


But it doesn't show on registration;

1734868128833.webp

... and I can't seem to find any reference to custom user fields via admin.php?options/groups/usersAndRegistration/

1734868229274.webp

The issue seems exclusive to the 'check box' field option in custom user fields. If I select others, they show.

Thanks
 
Solution
Tick user editable

Otherwise the user field will not be visible on the registration form.

However note that if you want to have a user promotion based on this, you would need the opposite, ie tick if you are under sixteen (or to be clearer, 15 or under). I have done something simply for 17 or under - and I have a user group promotion that puts children into a user group with no DMs allowed for child safety reasons.

"No, I'm not 16" would include anybody15 and younger, or 17 and older. :)
Try setting "2" - "No, I'm not 16".

It might be because you have a checkbox with 1 selection only. There is no alternate choice.

I'd use radio boxes for yes/no because it forces one or the other, while a checkbox would allow for selection of both.

Then create a usergroup promotion to an "under 16" group that has no forum access.
 
Try setting "2" - "No, I'm not 16".

It might be because you have a checkbox with 1 selection only. There is no alternate choice.

I'd use radio boxes for yes/no because it forces one or the other, while a checkbox would allow for selection of both.

Then create a usergroup promotion to an "under 16" group that has no forum access.

Thanks!

I figured the same and tried that, but still no joy.
 
Tick user editable

Otherwise the user field will not be visible on the registration form.

However note that if you want to have a user promotion based on this, you would need the opposite, ie tick if you are under sixteen (or to be clearer, 15 or under). I have done something simply for 17 or under - and I have a user group promotion that puts children into a user group with no DMs allowed for child safety reasons.

"No, I'm not 16" would include anybody15 and younger, or 17 and older. :)
 
Last edited:
Solution
Tick user editable

Otherwise the user field will not be visible on the registration form.

However note that if you want to have a user promotion based on this, you would need the opposite, ie tick if you are under sixteen (or to be clearer, 15 or under). I have done something simply for 17 or under - and I have a user group promotion that puts children into a user group with no DMs allowed for child safety reasons.

"No, I'm not 16" would include anybody15 and younger, or 17 and older. :)

That did the trick, thank a lot!

We don't allow anyone under 16 to register/post, and we don't want to collect DOB info so I figure it's a nice way to make that term pretty clear.
 
Back
Top Bottom