1
I have two input fields of type radio depending on the combination of choices I want to call a different form for each case, example.
<label>SELECIONE UMA OPÇÃO</label>
<form>
<label><input value="A" name="opcao" type="radio">opcao A</label>
<label><input value="B" name="opcao" type="radio">opcao B</label>
<label><input value="C" name="opcao2" type="radio">opcao C</label>
<label><input value="D" name="opcao2" type="radio">opcao D</label>
</form>
If you select option A along with C a form appears, if you select A with D another appears, B with C other and B with D other.
I know where to start, I want to do this without having to update the page.
By "calling a different form" means that the form action will change, or it will display another form, other fields.. It wasn’t very clear to me.
– BrTkCa
Will add other fields below the radios and each combination of radios call different fields in the form.
– Everton Figueiredo
Well I believe it is something like this: https://jsfiddle.net/Showva/bzq7gae1/
– Junior Libardoni
if you first click on option D or C and then on option A or B do not load the form.
– user60252
I modified it to make the radios select
– user60252