- Affected version
- 2.1.2
I have a custom field which is for entering a year. Given the nature of this year, it is only valid for 1991 and after. However, the field is not required, and not applicable for several members. So, what I want to have happen is have the field be blank on registration page, but if the user choses to enter a number, have the constraint take effect. Therefore I have set the field to be optional, however XF tries to be smart and defaults the value to the minimum, which is not what I want or would expect, given this is an optional field, and even if it weren't optional 99% of users will fail to update it if it's already pre-populated, so it would be better to default to blank to force the users to enter a value, then XF can complain if it isn't greater than the minimum.