Hides fields in a form.
hide(field1, field2, ...)
field |
string, id of the field |
Returns array of effected fields.
Description
hides a field or fields from the
.fields array and refreshes the form.
The field is identified by the
.field property, which is a required property for each field
object. The method returns the number of fields it hides.
Example: