PDA

View Full Version : Fire Validate On Form Load



brianj774
3 Aug 2007, 11:03 AM
Hi all.

I have a simple form, with a few TextFields on it. Some of these TextFields have various vtype options associated with them.

What I would like is for these 'failed' validations to alert themselves when the form is first presented.

Is this possible? How?

Thanks so much!

Brian Ackermann

devnull
3 Aug 2007, 12:44 PM
you could do an immediate form.submit(), as long as your submit handler is smart enough to check form.isValid() before sending anything to the server.