Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
1860 Posts
ACCEPTED ANSWER

Pinned topic Must be easy but looks tricky

‏2009-12-16T16:39:40Z |
I am trying to generate Radio buttons (male / Female) for gender option on my form.
I am creating the form from a XML schema.
I have attached the schema, created the instance from it and every time I drag the Gender instance onto my form it is converting into Popup select option (like dropdown).
However I want it to convert into ratio buttons instead.

Any idea how can I achieve this??? Below is my schema. Also attached
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:FS="http://FMS.com/serviceontario"
targetNamespace="http://FMS.com/serviceontario">
<xs:element name="PInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="FullName"/>
<xs:element name="Gender" type="FS:GenderOptions" maxOccurs="1"/>
<xs:element name="SkillSet">
<xs:simpleType>
<xs:restriction base="xs:string"> </xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="GenderOptions" final="restriction list">
<xs:restriction base="xs:string">
<xs:enumeration value="Male"/>
<xs:enumeration value="Female"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

Attachments