In my case I was was looking to change the Display attribute from block to in-line as currently in my form the radio button is appearing above the label, rather than next to it.
Desired Code
Other Group radio buttons have HTML that looks like the following. Note the class attribute for both the <input>
and <label>
tags.
<ul class="mc_list">
<li>
<input type="radio" id="mc_mv_MEMRELATE_0" name="mc_mv_MEMRELATE" class="mc_radio" value="Mother" />
<label for="mc_mv_MEMRELATE_0" class="mc_radio_label">Mother</label>
</li>
This is compared to the radio buttons for preferred email format that looks like.
<ul class="mc_list">
<li>
<input type="radio" name="email_type" id="email_type_html" value="html" checked="checked">
<label for="email_type_html">HTML</label>
</li>
While the <input>
tag has an id, unfortunately the label
has nothing. Adding class attributes like the HTML tags for Groups would be helpful.
Do this help explain the challenge ?