Is there a way to require fields based on the selected option in the form?