I'm looking at creating some type of reactive form, where if an option selected, the options below will depend on what the person selected...
For example... The Form has two options A and B.
If option A is selected, then a new option menu shows below displaying sub-options C and D. If option B is selected then a new option menu shows below displaying sub-options E and F instead.
Pretty much what I'm looking at is...
If A is selected -> Display html code for options C and D
If B is selected -> Display html code for options E and F
So I would need to pull the value that is selected, and display code based on which value is selected without refreshing the page.
I would assume Javascript... but I know very little if of this. I would appreciate any help/guidance. Thanks.
For example... The Form has two options A and B.
If option A is selected, then a new option menu shows below displaying sub-options C and D. If option B is selected then a new option menu shows below displaying sub-options E and F instead.
Pretty much what I'm looking at is...
If A is selected -> Display html code for options C and D
If B is selected -> Display html code for options E and F
So I would need to pull the value that is selected, and display code based on which value is selected without refreshing the page.
I would assume Javascript... but I know very little if of this. I would appreciate any help/guidance. Thanks.





