This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 6 years, 1 month ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
September 20, 2013 at 2:26 am 8329
Tareq Hasan Hey there - I've been trying to stylize my checkboxes on one of my forms and noticed that I kept running into issues, because the code that gets printed is as follows... <li id='product_cat-7'><label class="selectit"><input value="7" type="checkbox" name="product_cat[]" id="in-product_cat-7" /> Breaks</label></li> Here's how I would like it to print, so the label no longer wraps the input <li id='product_cat-7'><input value="7" type="checkbox" name="product_cat[]" id="in-product_cat-7" /><label class="selectit">Breaks</label></li> I thought maybe I could edit the order somehow in the render-form.php file, but I just couldn't figure it out, so I'm asking here =)
September 20, 2013 at 3:08 pm 8354
Tareq Hasan Tareq Hasan

The label and the input boxes are rendered differently. It’s a bit complexity and it’ll break if you do so. So I’ll advice not to change it 🙂

Viewing 1 Posts - 1 through 1 (of 1 total)