Forms (NotesDatabase - JavaScript)

Read-only. All the forms in a database.

Defined in

NotesDatabase

Syntax

getForms() : java.util.Vector

Usage

The vector elements are of type NotesForm.

The database must be open to use this property.

Examples

This button gets the names of all the forms in the current database.
var forms = database.getForms().iterator();
requestScope.status = "Forms in current database";
while (forms.hasNext()) {
	var form:NotesForm = forms.next();
	requestScope.status += "\n" + form.getName();
}