I've got one field in my form called INVOICE_AMT. I'm trying to require a non-zero value in that field. There are 2 other fields that this is conditioned upon: INVOICE_DETAIL and DNP. Here's how it should work.
If INVOICE_DETAIL is equal to CPF, APF, or HRB Simple AND
DNP is equal to False AND
INVOICE_AMT is equal to 0 OR
INVOICE_AMT is blank
Then the INVOICE_AMT field should be required to be more than 0.
No matter what I do, I cannot get this thing to work. Here's how my condition currently works:
If this condition is true:
INVOICE_AMT is less than or equal to 0 and
The expression ../@INVOICE_DETAIL = "CPF" or "APF" or "HRB Simple" and
DNP is equal to "False"
It's screwing things all up and giving me the wrong validation. I've tried this so many times, but I can't get it to work. I'm in desparate need of some help on this one.