WidgetsFormForm APIToggle APIForm Toggle methodshide()hide() hides a Toggle control hide(): void; Example form.getItem("toggle").hide();