How to update openmrs registation core

hello everyone, I will need assistance on how to validate the date field of openmrs registration page. I want to add the estimated date of birth when the age and possible month of birth are supplied.

I will appreciate any hint on how to go about this.

Thank you.