Avatar

Level 10

Hi,

To make a field optional set the validate.nullTest to "disabled" and to make it mandatory set it to "error", something like;

DateField1.validate.nullTest = "disabled"

If you are making a subform invisible then you will have to do this for each field within the subform.

Regards

Bruce