Radiobutton selected value

0
Hi there! I'm trying to change the width of fields based on the radio button selected value. I have been trying different ways of getting the selected value but at the end, unable to capture the value. My solutions work fine when radio button is clicked and changed because I am able to capture 'mx-focus' class. Issue is when page loads. There is no attribute differentiating a selected value. <div> <label class="radio-inline"> <input type="radio" name="1528826855968-504" value="true">Yes</label> <label class="radio-inline"> <input type="radio" name="1528826855968-504" value="false">No</label> </div> This is how it looks on load, whether selected index is 'yes' or 'no'.
asked
2 answers
2

Take a look at this question on S&A: https://stackoverflow.com/questions/1431726/css-selector-for-a-checked-radio-buttons-label

Seems like just the thing you are looking for.

-Andrej

answered
0

Perhaps you can use the CSS loader widget from the appstore. You can modify the CSS of the page based on a microflow input. 

answered