Skip to main content

%ZEN.Component.submit

class %ZEN.Component.submit extends %ZEN.Component.button

A submit button.
A submit button must be placed within a form.
When the user presses the submit button, the form is submitted. The value of the action is passed along to the server-side %OnSubmit() method.

Property Inventory

Method Inventory

Properties

property action as %ZEN.Datatype.string (MAXLEN = 250) [ InitialExpression = "submit" ];
This is the *action* code (a string) associated with this submit button. By default, action is "submit". This value is passed along to the server-side %OnSubmit() method.
Property methods: actionDisplayToLogical(), actionGet(), actionIsValid(), actionLogicalToDisplay(), actionLogicalToOdbc(), actionNormalize(), actionSet()
property nextPage as %ZEN.Datatype.uri;
If defined, the URL to go to after this form is submitted successfully. This value, if defined, will override the nextPage of the form.
Property methods: nextPageDisplayToLogical(), nextPageGet(), nextPageIsValid(), nextPageLogicalToDisplay(), nextPageLogicalToOdbc(), nextPageNormalize(), nextPageSet()

Methods

method %DrawHTML()
Inherited description: Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
clientmethod onclickHandler() [ Language = javascript ]
Internal onclick handler method for submit button. Users should not call this method.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab