The title may sound more like a feature report :-) yet I think this is a bug.

Explanation:

When you create a checkbox for the profile using the profile.module, set the visibility to hidden, make the field required, and make it visible on the registration form, the checkbox is created, but the user has no possibility to check it. Additionally, there is no error message that the field is required, even though it did not get checked (now, this might be a feature in the bug ;-)

Why would one want to do this: as a simple replacement for the legal.module as long as it's not available for 4.7, I created a link to the terms & conditions page in the description for the checkbox.

It doesn't hurt to make this checkbox visible, but I guess the results as they are can cause quite some confusion (especially since the admin does see the box...)

Ben.

Comments

magico’s picture

Version: 4.7.0 » x.y.z
Status: Active » Fixed

If the field is marked as hidden it will never be shown to any user unless he his an administrator.

Anonymous’s picture

Status: Fixed » Closed (fixed)