Update form field value condition not working to update a datetime field from another datetime field