If you add an element with enumerations from schema to your form, any dynamic options must conform to the schema. For example, you can create a drop down from a schema that restricts values to say red, green, blue and in a rule set the options to Mr, Mrs and Ms. In the form if you choose one of the values from the dropdown (Mr) you will get an Invalid value message since it's not part of the original schema.
To add a Message Control to your schema-based Repeat control, add an element like this to your schema:
<xsd:element default="Message" minOccurs="0" name="MessageControl" type="xsd:string"> <xsd:annotation> <xsd:appinfo> <frevvo:displaytype>Message</frevvo:displaytype> <frevvo:label>Message Control</frevvo:label> </xsd:appinfo> </xsd:annotation> </xsd:element>
Add this attribute in the <xsd:schema tag (it is most likely on line# 2 in the schema file):
If you need to make changes beyond those allowed in the Forms Designer, make the changes in your XSD file and replace the old schema in your
Also elements added to the form from the Data Source that are repeating elements are automatically added into the associated repeat control(s) if any already exist on your form. While all non-repeating controls are simply added to the top of the form when added from the Data Source.