3
I have a form with two inputs of the kind radio, one with physical and other legal value. When one is selected, the fields to be filled are different from the other (mainly in PJ), so I would like to know a very practical way to display and hide the form fields when selecting one of the options.
You can put 2 Divs, pf and pj, with display None and when the user clicks on one of the radio’s he arrow the display block of one of these Divs
– Andrey Hartung
Pure Javascript or some framework like Angular? You need to give more details.
– DarkLighting