How to add limitations on form based from the option selected?