Render Radio Buttons to Create as Tabs
-
Hello,
I want to use Fields Factory to build out a detailed e-commerce site to sell and offer quotes of commercial light fixtures, which requires a lot of different specifications on the product page.
I would like to add those specs as radio buttons as tabs that customers can select. However, to create the tabs, I need to change the HTML rendering of radio buttons so
input
is rendered first, andlabel
is rendered as an adjacent sibling element, like so:<input type="radio" class="test-radio-field" name="test-spec-1"> <label for="test-spec-1" class="test-radio-label">
I tried to follow your article on how to change rendering behaviour but didn’t get it. How can this be done? I would love to do this. Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Render Radio Buttons to Create as Tabs’ is closed to new replies.