getForm (NotesXspDocument - JavaScript)

Gets the name of the document's form.

Syntax

getForm() : string
Return value Description
string The name of the form.

Examples

This code computes the form for a data source, specifying it as the same form used for document1.
return document1.getForm()