PDA

View Full Version : form how to knwo invalid fields ?



maneljn
30 Aug 2012, 5:12 AM
when i ask for



form.isValid()


and returns TRUE, how can i know programatically which fields ara the invalid ones ???

Manel

tvanzoelen
30 Aug 2012, 5:38 AM
Iterate the fields on the form and call


field.validate();

it returns true or false