Hello all,
I need to have a form section representing an "optional choice", for lack of a better term :-) Basically, my schema looks like this:
<xsd:element name="elements" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="textElement" minOccurs="0" maxOccurs="1"/>
<xsd:choice minOccurs ="0" maxOccurs="1">
<xsd:element ref="imageElement" minOccurs="0"/>
<xsd:element ref="animationElement" minOccurs="0"/> <xsd:element ref="videoElement" minOccurs="0"/>
</xsd:choice> <xsd:element ref="audioElement" minOccurs="0" maxOccurs="1"/>
</xsd:sequence> </xsd:complexType>
</xsd:element>
As you can tell from the schema, the user can add one image, or add one animation, or add one video, or add none of these three. What section / construct is best suited for these? Note that I'd like the form to have an "insert button/hint text" kind of like "Click here to add an image, animation, or video", exactly like with an optional section....I wish I could have an "optional choice" :-)
Thanks so much in advance!!!!