Expand my Community achievements bar.

Radiobutton equivalent in a schema


Level 7
I have 2 radio buttons in my form with values "Day" and "Night". I would like to prefill these radio buttons from an XML/database using a schema.

Can someone tell me

1) How would I design the schema to accomodate the radio buttons ?

2) Out of the two what would I bind in the form ?

3) How will I setup the radio buttons to receive string values("Day"/"Night") as input ?


2 Replies


Former Community Member
In the schema definition you can indicate that a node value is limited to Day or Night. These are the only two valid values that are allowed. When that gets inported into Designer we will create a dropdown list with the two values in it. There is no indication that you want a radio button, so you will have to go and adjust this after you import.

You can indicate what you want for the ON/Off values in the binding tab of the radiobuttonList. In Your case the On value for one radio button will be "Day" and the On Value for the other will be "Night". By querying the RadioButtonList it will tell you which one is On.