Login Form component.
This is a specialized type of form designed to be used in a login page. Unlike the regular form component, this is a very simple object with none of the more advanced form features that are inappropriate for a login page.
Subclasses can set this to change default css class for a group. parameter DEFAULTGROUPSTYLE = "padding: 5px;";
Default style for cells within forms parameter SYSMODULE = "form";
If set, this indicates that this system component should be placed in the given "module". A module is a grouping of components within the same class package that share common include (js or css) files. Note that certain root classes are implicitly placed within the "core" module.
Classes outside of the Zen library should not set this, they should use the MODULE instead.
Specifies the enctype for the form. (Refer to the HTML form element for details). property ondefault as %ZEN.Datatype.eventHandler(HANDLER="");
ondefault event handler: This is a special event that is fired when the user performs an action that triggers the default action for a form. Typically this is when the user presses the Enter key within a control within the form. property onsubmit as %ZEN.Datatype.eventHandler(HANDLER="");
onsubmit event handler: This event is fired when this form is about to be submitted. It provides a chance to perform client-side validation of values within the form. If this event handler returns false, then the submit operation will not occur.
Note that unlike the HTML onsubmit event, this callback is always called when the form is submitted.
Static HTML display method: draw the BODY of this component as HTML. method %OnAddToPageAfter() as %Status
Subclasses implement this in order to render the static HTML contents of a component.
This callback ensures that CSRF tokens are set (if desired) in any page employing this widget method %OnDrawForm() as %Status
Onsubmit event handler. This is an internal method used to trap the default action of the form.