Hopefully we did not create this, but here is an example from one of our forms --
<field ...>
<radio no-current-selected-key="HOME">
<option key="HOME" description="${uiLabelMap.PartyHomeEmail}" />
<option key="WORK" description="${uiLabelMap.PartyWorkEmail}" />
<option key="IM" description="${uiLabelMap.PartyInstantMessagingEmail}" />
</radio>
</field>
Naturally rather then explicitly listing out the options you can bind the widget to a list or an entity fetch just like checkbox and dropdown widgets.
su2 wrote
Hi All,
I am creating a FormWidget with text boxes and radio button. I am aware of the syntax for text boxes : <field name="xyz"><text/></field>
But I am unaware of the syntax for the radio buttons.
I would really appreciate your help.
Thanks.