This object is used to hold values and details of a Submit operation.
Name of submit action. This comes from the action property of the %ZEN.Component.submit that submitted this form. property %Data as %String [ MultiDimensional ];
Internal property. property %Errors as %String [ MultiDimensional ];
Array of submitted values, indexed by control name.
Internal property. property %FormId as %String;
Array of errors in submitted values, indexed by control name.
Component id of the submitted form (if defined). property %FormKey as %String;
Key value (object id) associated with the submitted form (if any). property %ModelClass as %String;
If the form defines an OnLoadForm callback, this contains the user-supplied key value used to load data for the form.
If the form is bound to a DataModel, this contains the id of the DataModel object.
If the form is bound to a DataModel class, this is the name of the DataModel class. property %NextPage as %String;
Page to redirect to after a submit. property %SkipProcessing as %Boolean [ InitialExpression = 0 ];
This is initially set to the submitting form's nextPage property but can be modified by an %OnSubmit method.
If true, bypass the rest of the submit processing for this page.
Get a pointer to a MIME stream associated with a control by name method %GetValue(pCompName As %String)
Get value associated with a control by name. method %HasErrors() as %Boolean
Return true if errors have been added to this submit object. method %SetError(pCompName As %String, pError As %String)
Associate an error message with a component by name. method %SetValue(pCompName As %String, pValue As %String = "")
Set the value associated with a control by name.
This value will be applied to the control if the form is redisplayed because of errors.