I don't think the validWhen validator supports either type cooercion or
arithmetic. You'll probably need to handle this validation
programatically in your validate() method.
L.
Jefferson Wilson wrote:
I have a form where the user will peform a simple calculation in order to
prevent spam (1 +
I have a form where the user will peform a simple calculation in order to
prevent spam (1 + 10 = 11). As a result, I would like to use the 'validwhen'
validation step to handle this. I am overlooking something I believe.
I have created the following:
1) Field Definition In validation.xml
2 matches
Mail list logo