getSessionForm

getSessionForm(formName: String): Form;

The getSessionForm method of the WebSession class returns a transient instance of the form specified in the formName parameter, to enable you to keep track of all open form instances for the current session in a web‑enabled application that uses Jade forms (that is, a web‑enabled application that does not use HTML documents).

If there are multiple instances of the specified form, the first instance is returned. If there are no open forms for the specified value, a null value is returned.