Does anyone know the code to use for the following scenario:
When a field is in a hidden subform, it's set to Object > Value > Type > User Entered - Optional.
But when the User clicks in a checkbox and that subform becomes visible, the Type changes to User Entered - Required.
Thanks in advance for your help.
-Gillian
I have not had a chance to test this, but try this added to the script of your checkbox. --
The Syntax to use is:
Reference_Syntax.nullTest = "disabled | error | warning"
Example in JavaScript:
TextField1.validate.nullTest = "error";//throws an error message if the field is empty
TextField1.validate.nullTest = "disabled";// disables the nullTest so it essentially turns of the REQUIRED status.