So, you're saying that effectiveDate is requiredif state == 940?

Try adding [0] to the end of the field* vars.

David

Is it possible to require a field based on the value of another field?  I
tried the following, but no dice:

              <field property="effectiveDate"
                     depends="requiredif">

                  <arg0 key="changeRequestFormEx.effectiveDate"/>
                  <var>
                    <var-name>field</var-name>
                    <var-value>state</var-value>
                  </var>
                  <var>
                    <var-name>fieldTest</var-name>
                    <var-value>EQUAL</var-value>
                  </var>
                  <var>
                    <var-name>fieldValue</var-name>
                    <var-value>940</var-value>
                  </var>
              </field>

Thanks,

Matt


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to