PDA

View Full Version : Setting validationEvent globally?



fsa3
18 Oct 2009, 7:23 AM
I have a lots of forms throughout my app and have decided instead of having the validation occur as users are typing I want to have it happen on Blur. By adding :


validationEvent: 'onBlur',


To each form field I get what I want. I was just curious if there was a way to set this as the default for fields globally or per form (rather than per field).

Thanks.

Animal
18 Oct 2009, 9:54 AM
Using the class prototype?