Hello,

I currently have a validator that has the following logic:

house number + flat number = 0
house number + NO flat number = 1
NO house number + flat number = 1
NO house number + NO flat number = 0

The issue I have is that the last rule (NO house number + NO flat number)
does not run because both inputs are blank. For some reason, the input
validator stop and returns trye after it's discovered a null value with
'allowEmpty' set to true and 'required' set to true.

Is there any way I can get my validator chain running, despite having null
values?

Thanks,
Oli



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/XOR-logic-for-two-elements-tp4658807.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to