circuitnederland / registrationform

0 stars 0 forks source link

Remove required property for Date of Birth user profile field #77

Closed sandrab closed 2 years ago

sandrab commented 2 years ago

Many C3NL users have an empty date of birth user profile field (see #74). Since this field is currently required, this means each attempt to update their profile will throw a validation error.

When we implement the new emandate functionality, the emandate scripts will try to save the IBAN returned from equens in the user profile. This fails if there are validation errors in this profile, like, for example, an empty date of birth.

To solve this problem (without having to determine the DoB for all those users and fixing their profiles) we will remove the required property from the date of birth user profile field and instead, make sure new users must fill in this information in the registration process.

This issue is about making the date of birth required in the current PHP registration form. In #70 we will add something similar inside the new registration wizard, using a custom wizard field.