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



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.


Example 1:
'Quantity’ field will be shown if value of 'show’ field is set to true, otherwise it will be hidden.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?