Autocalculate date to custom field

Triggered by Datepicker itself.