Topic: How to define checkboxes in schema?
I want one field from a database table to be shown as a checkbox group in a repeater control. Is this possible? There's an example in the documentation (see below), but it doesn't work. It will get rendered as a normal text field. I can change it to dropdown in the form designer, but it won't show any options. Changing the type to check box won't show any data.
<xsd:element minOccurs="0" name="colorChoice">
<xsd:simpleType>
<xsd:list itemType="colorTypes"/>
</xsd:simpleType>
</xsd:element>
<xsd:simpleType name="colorTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="red"/>
<xsd:enumeration value="green"/>
<xsd:enumeration value="dark.blue"/>
</xsd:restriction>
</xsd:simpleType>