Timothy Larson dijo: > I noticed in the Woody form1 sample that the drinks are > not marked required="true", but they act like they are > required because of their validation rule: > <wd:validation> > <wd:value-count exact="2"/> > </wd:validation> > It seems that if the field is not required and no drinks > are selected, then this validation rule should not be > enforced. > > I am wondering what meaning we want to attach to the > required attribute. Comments anybody?
I think you are right the correct approach is: A-required="true" - field cannot be empty (NULL) and must be validated. B-required="false" - if (field is not empty) then validate. Best Regards, Antonio Gallardo