I\'m making a form, and I was in need of a radio input. How do I get the checked radio input in a onSubmit-function, what is the correct way?
This is my code, I myRadioI
{ items.map(item =>
{item.qno}
)}
{ items.map(item =>
{item.question}
{ item.options.map(option =>
{option.option1}
)}
{ item.options.map(option =>
{option.option2}
)}
{ item.options.map(option =>
{option.option3}
)}
{ item.options.map(option =>
{option.option4}
)}
You can use Radio button's like this also