PDA

View Full Version : Mark all required form fields invalid @ form load



netsuo
11 Nov 2010, 7:29 AM
Hi,

A simple question: is it possible to automatically mark all form fields that are required "invalid" directly after I load a form with values, or using a function (something like "form.Validate()") ? Actually we have to click in each form fields to raise the event, I want it to be automatic at load.

Thanks in advance,

Stephane

darthwes
11 Nov 2010, 8:53 AM
Call BasicForm.isValid.

netsuo
12 Nov 2010, 2:22 AM
Thanks a lot !