Skip to main content

FormInstance Constructors

An object defining constructors for the FormInstance class.

FormInstance(projectName, formName, secretKey, agentMode, serviceAPI)

Creates a new form instance with the specified parameters.

Parameters:

projectName (required): string
The name of the project.

formName (required): string
The name of the form.

secretKey (required): string
The secret key used for encryption.

agentMode (required): bool
Determines if the instance is in agent mode.

serviceAPI (required): ServiceAPI
The Service API instance.


FormInstance(projectName, formName, secretKey, serviceAPI)

Creates a new form instance with the specified parameters.

Parameters:

projectName (required): string
The name of the project.

formName (required): string
The name of the form.

secretKey (required): string
The secret key used for encryption.

serviceAPI (required): ServiceAPI
The Service API instance.


FormInstance(projectName, formName, secretKey)

Creates a new form instance with the specified parameters.

Parameters:

projectName (required): string
The name of the project.

formName (required): string
The name of the form.

secretKey (required): string
The secret key used for encryption.


FormInstance(projectName, formName, serviceAPI)

Creates a new form instance with the specified parameters.

Parameters:

projectName (required): string
The name of the project.

formName (required): string
The name of the form.

serviceAPI (required): ServiceAPI
The Service API instance.