Sudheer wrote:
Hi,

I have written a custom validator to make either first name or last name field in my form mandatory. But not both. I have added the custom validator to the lastName element. The validator won't run unless the element value is set. I want it to run even though no value is supplied to the element. Is it possible?
Never mind. Just re-read the manual and solved the issue by using setAllowEmpty(false).

Regards,

--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, 
Personal: http://sudheer.net

Reply via email to