If you choose InfoPath as a somewhat more user-friendly way to customize the form (supported until 2020 but deprecated by Microsoft), consider reading the recipes on bizsupportonline, there are lots of them, your specific problem also solved a couple of ways.
Alexey Krasheninnikov
- 2.8k
- 2
- 25
- 42