ToggleField
This function will make specified field visible or hidden on form based on value of second parameter.
ToggleField("fieldName","visible");Function arguments
Dział zatytułowany „Function arguments”- fieldName – (String) The name of the field to be shown or hidden.
- visible – (Boolean) true to show field, false to hide field.
Return value
Dział zatytułowany „Return value”This function returns Boolean. This function always returns true.
Examples
Dział zatytułowany „Examples”Example 1: ’Quantity’ field will be shown if value of ’show’ field is set to true, otherwise it will be hidden.
ToggleField("Quantity",[show]);