On May 2, 3:54 am, John Whish <
john.wh...@googlemail.com> wrote:
> Hi,
>
> I don't think you can have two required rules in the same property. Instead
> try something like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <validateThis xsi:noNamespaceSchemaLocation="validateThis.xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
> <conditions>
> <condition name="DoSomething"
> serverTest="getRemovePay() EQ 'Yes' OR getChangeRate() EQ 'Yes'"
> clientTest="$('[name=removePay]').getValue() == 'Yes' ||
> $('[name=changeRate]').getValue()
> == 'Yes';" />
> </conditions>
> <objectProperties>
> <property name="newTotalBilled" desc="New Total Billed">
> <rule type="required" condition="DoSomething"/>
> </property>
> </objectProperties>
> </validateThis>
>