beforeHide

fires before a Form control is hidden

boolean beforeHide(string id){ ... };

Parameters

idstringthe id of a Form control

Returns

booleanfalse - to prevent a control from being hidden, otherwise true

Example

form.events.on("beforeHide", function(id) {
    console.log(id, "beforeHide"); 
    return false;
});

See also
Change log

added in v6.5

Back to top