Hello everybody
My english is not perfect but I'll try my best.
Since 2 weeks I'm trying to get a perfect xsd structer for my formular. If I put the following (XSD) element construct in a new InfoPath form, the title element is allowed to be empty. This is actually my problem, because it shouldn't be empty. How can I correct my xsd to get a red star by the titel-element. I'm also not able to change the configuration in Infopath to set the checkbox "element can't be emtpy".
Thanks alot and I'm happy about every feedback I'll get.
Best regards
_____________________________________________________
My element construct:
<xs:element name="service">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" ref="title"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="description"/>
<xs:element minOccurs="0" ref="price"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="priceSuffix"/>
<xs:element minOccurs="0" ref="contacts"/>
<xs:element minOccurs="0" ref="image"/>
<xs:element minOccurs="0" ref="contentProperties"/>
</xs:sequence>
<xs:attribute name="orderNr" use="required" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="title">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="lang" type="xs:language"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>