How such inputs could be translated into DATE field in DB?

Customer insisted on such way to input user birthdate. First my thought was simply to concat in one field in beforeValidate, but after this inputs won't be able to display date, that was inputed, from the DB. How to avoid such restriction?
beforeValidate() set the value of birthdate with combination of 3 virtual fields from the form.afterFind() in the model class where value of saved in DB birthdate property is used to set the values of 3 virtual properties.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With