Static
addAdds an event listener to the form class.
type of event listener, defined in the FormEventsEnum
Static
addAdd or update an attachment with the given file name.
string, the name of the file.
Blob, blob to add or update
Static
copyThis function copies the current form and returns a promise that resolves to the new form.
Optional
deleteFields: booleanboolean - If true, the copied form will remove marked fields.
A promise that will resolve to a new Form object.
Static
deleteDelete an attachment with the given file name.
string, the name of the file.
Static
disableDisable the automatic saving of the form.
Static
disablePrevent notify mutated event gets fired.
Static
enableEnable the automatic saving of the form.
Static
enableEnable notify mutated event.
Static
getReturns the actual file path of an attachment with the given file name.
string, the name of the file.
Static
getGet the current form in specified format.
Optional
format: DataFormatEnumDataFormatEnum, the format to get the form in.
Static
getGet the creation date of the current form.
Static
getGet the group infos about the current form.
Static
getGet the last modified date of the current form.
Static
getGet the status of the current form.
Static
hasChecks wether the form has an attachment with the given file name.
string, the name of the file.
Static
removeAlways remove previously registered event listeners!
type of event listener, defined in the FormEventsEnum
Static
saveSave the current form.
Static properties and methods related to the current form.