FormSecret Constructors
An object defining constructors for the FormSecret class.
FormSecret(documentId, readOnly, view, validate, parameters, lockedControlsHash, invisibleControls, canSaveAsDraft, openedBy, hasFormViewIgnored)
Initializes a new instance of the FormSecret
class with the specified parameters.
Parameters:
documentId (required): long
The unique identifier for the document associated with the form secret.
readOnly (required): bool
Indicates whether the form is in read-only mode.
view (required): string
The view associated with the form secret.
validate (required): bool
Indicates whether the form should be validated.
parameters (required): Dictionary<string, object>
A dictionary of key-value pairs providing additional parameters for the form secret.
lockedControlsHash (required): string
Hashed controls that are disabled or read-only to prevent value modification.
invisibleControls (required): string
Controls with Visible set to false, stored as a serialized key-value string to retain their values during form initialization.
canSaveAsDraft (optional): bool?
Indicates whether the form can be saved as a draft. Default isnull
.
openedBy (optional): OpenedBy
Specifies who opened the form. Default isOpenedBy.None
.
hasFormViewIgnored (optional): bool
Indicates whether the form view is ignored. Default isfalse
.