StaticaddAdds an event listener to the form class.
type of event listener, defined in the FormEventsMapping
StaticaddAdd or update an attachment with the given file name.
string, the name of the file.
Blob, blob to add or update
StaticcopyThis function copies the current form and returns a promise that resolves to the new form.
OptionaldeleteFields: booleanboolean - If true, the copied form will remove marked fields.
A promise that will resolve to a new Form object.
StaticdeleteDelete an attachment with the given file name.
string, the name of the file.
StaticdisableDisable the automatic saving of the form.
StaticdisablePrevent notify mutated event gets fired.
StaticenableEnable the automatic saving of the form.
StaticenableEnable notify mutated event.
StaticgetReturns the actual file blob of an attachment with the given file name.
string, the name of the file.
StaticgetReturns the actual file path of an attachment with the given file name.
string, the name of the file.
StaticgetGet the current form in specified format.
Optionalformat: DataFormatEnumDataFormatEnum, the format to get the form in.
StaticgetGet the creation date of the current form.
StaticgetGet the group infos about the current form.
StaticgetGet the last modified date of the current form.
StaticgetGet the status of the current form.
StatichasChecks wether the form has an attachment with the given file name.
string, the name of the file.
StaticremoveAlways remove previously registered event listeners!
type of event listener, defined in the FormEventsMapping
StaticsaveSave the current form.
Static properties and methods related to the current form.