I'm currently utilizing Spring MVC's <form:radiobuttons>
to showcase radio buttons:
<form:radiobuttons path="selection" items="${arraySelection}" />
The issue I am facing is that it is displaying the radio buttons in a horizontal layout. The resulting HTML code looks like this:
<span>
<input id="selection1" type="radio" value="0"" name="selection">
<label for"selection1">Off</label>
</span>
<span>
<input id="selection2" type="radio" value="1"" name="selection">
<label for"selection2">On</label>
</span>
Is there a way to make them display vertically instead?