A simple login AutoForm class...
property Query as %String(MAXLEN=1000);
classmethod CreateInstance(ByRef pID As %String) as %CSP.Util.AutoForm
Create an instance of the AutoForm object using the provided ID value(s). This is overridden by subclasses. method OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
The default implementation will perform an OpenId if the AutoForm is a persistent object.
This callback is called when this form is submitted. pID is the ID value associated with the form. The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).