Print

ToggleField

This function will make specified field visible or hidden on form based on value of second parameter.

Syntax

ToggleField("fieldName","visible");

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

This function returns Boolean.
This function always returns true.

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]);
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?