new module:model/WebFormWithMetadata()
- Source:
Constructs a new WebFormWithMetadata.
An object that fully describes an instance of a form
Members
(inner) accountId :module:model/Guid
- Source:
Account identifier
Type:
(inner) formContent :module:model/WebFormContent
- Source:
Content of the form that is used during configuration and data collection
Type:
(inner) formMetadata :module:model/WebFormMetadata
- Source:
Form metadata
Type:
(inner) formProperties :module:model/WebFormProperties
- Source:
Form properties
Type:
(inner) formState :module:model/WebFormState
- Source:
Type:
- module:model/WebFormState
(inner) hasDraftChanges :Boolean
- Source:
Does the form have draft changes that need to be published?
Type:
- Boolean
(inner) id :module:model/WebFormId
- Source:
Unique identifier for the web form
Type:
(inner) isEnabled :Boolean
- Source:
Is the form currently enabled and available for data collection
Type:
- Boolean
(inner) isPublished :Boolean
- Source:
Has the form been published
Type:
- Boolean
(inner) versionId :module:model/WebFormVersionId
- Source:
Identifier for the current version of the form that is published
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/WebFormWithMetadata}
- Source:
Constructs a WebFormWithMetadata from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/WebFormWithMetadata | Optional instance to populate. |
Returns:
The populated WebFormWithMetadata instance.