How to make a dropdown menu and an input field mandatory based on whether or not the field is used...