beforeShow

fires before a Form control is shown

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

Parameters

idstringthe id of a Form control

Returns

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

Example

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

See also
Change log

added in v6.5

Back to top