fires before a Form control or its element is hidden
beforeHide: (name: string | number, value?: any, id?: string) => boolean | void;
Parameters:name | id: string | number
- the name (or id, if the name is not specified) of the Form controlvalue?: any
- the current value of the controlid?: string
- optional, the id of the element of the control of Form (for RadioGroup, CheckboxGroup)Return false
to prevent a control or its element from being hidden; otherwise, true
.
Example
form.events.on("beforeHide", function(name, value) {
console.log("beforeHide", name, value);
return false;
});
Change log:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4