This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

ZENTest.FormTest

class ZENTest.FormTest extends %ZEN.Component.page

ZENTest.FormTest

Method Inventory

Parameters

parameter APPLICATION = ZENTest.TestApplication;
Application this page belongs to.
parameter PAGENAME = Form Test Page;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Methods

method %OnAfterCreatePage() as %Status
This callback is called after the page model is created.
classmethod %OnSubmit(pSubmit As %ZEN.Submit) as %Status
Inherited description: This callback is called when a form on this page is submitted. pSubmit is a %ZEN.Submit object containing details of the form submit.
Subclasses override this method.
clientmethod formChange(form) [ Language = javascript ]
clientmethod formClearModified() [ Language = javascript ]
clientmethod formInvalid(form, list) [ Language = javascript ]
Form invalid handler
clientmethod keyPress(combo, evt) [ Language = javascript ]
MyMethod
clientmethod resetForm() [ Language = javascript ]
Reset the form programmatically
clientmethod submitForm() [ Language = javascript ]
Submit the form programmatically
clientmethod test() [ Language = javascript ]
clientmethod test1() [ Language = javascript ]
clientmethod test2() [ Language = javascript ]
clientmethod validateAge(ctrl) [ Language = javascript ]
validateAge
clientmethod validateEnabled(ctrl) [ Language = javascript ]
validateEnabled
clientmethod validateForm() [ Language = javascript ]
Validate the form programmatically

Inherited Members

Inherited Properties

Inherited Methods

Feedback