Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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 ?


0 Replies


Level 10
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.