How to automatically populate /node/add/ form fields via simple logic?
Module Conditional Fields does the job. 

It lets you assing values, visibility etc. of fields depending on other fields in the same form.

https://www.drupal.org/project/conditional_fields