Level 5
April 28, 2016
Solved
How to arrange Radio buttons horizontally in CQ Dialog?
- April 28, 2016
- 8 replies
- 7802 views
Hi Pradeep,
Please try this below code. It should work. Just add one optionconfig.
<tuhin
jcr:primaryType="cq:Widget"
fieldLabel="Radio"
layout="column"
xtype="container">
<items jcr:primaryType="cq:WidgetCollection">
<radio
jcr:primaryType="cq:Widget"
align="strech"
fieldLabel="radio"
layout="hbox"
name="./examTimeUnits1"
type="radiogroup"
width="200"
xtype="selection">
<options jcr:primaryType="cq:WidgetCollection">
<radiobutton1
jcr:primaryType="cq:Widget"
text="good"
value="good"/>
<radiobutton2
jcr:primaryType="cq:Widget"
text="bad"
value="good"/>
<radiobutton3
jcr:primaryType="cq:Widget"
text="average"
value="good"/>
</options>
<optionsConfig
jcr:primaryType="nt:unstructured"
width="50"/>
</radio>
Thanks
Tuhin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.