<div>Hi to all,</div>
<div><br></div><div>I'm using opencms 7</div><div>I have this situations:</div><div><br></div><div>........</div><div><div><xsd:complexType name="....."></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><xsd:sequence></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><xsd:element maxOccurs="1" minOccurs="0" name="Internal" type="OpenCmsVfsFile"/></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><xsd:element maxOccurs="1" minOccurs="0" name="External" type="...."/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></xsd:sequence></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div></xsd:complexType></div>......</div><div><br>
</div><div>I need that al least one of these two fields have to be required but not both. </div><div><br></div><div>So in the workplace I can't save the changes to an "object" if I don't fill at least one of the two fields.</div>
<div><br></div><div>There is in opencms an option to make this?</div><div>I was thinking to do that, using a regular expression, but i don't know if I can recover the fields and use them in <validationrules> tag.</div>
<div><br></div><div>Thanks.</div><div><br><br></div>