Magidoc

FormElement
Object

Form element representing a single field or component in the form

Fields

#

type

Non-null

Type of form element

name

Non-null

Internal name/identifier for the element

title

Display title for the element

fieldId

Unique field identifier

readOnly

Whether the field is read-only

choices

Available choices for selection fields

showNoneItem

Whether to show a 'None' option

noneText

Text to display for the 'None' option

multiple

Whether multiple selections are allowed

commentText

Label for additional comment field

commentValue

Default value for comment field

parentFieldId

ID of parent field for nested elements

specificLabels

Array of specific label IDs

actionDescription

Whether to map field to action description

actionAttachments

Whether to map field to action attachments

actionCustomField

Whether to map field to action custom field

mapActionCustomFieldTo

ID of custom field to map to in action

projectCustomField

Whether to map field to project custom field

mapProjectCustomFieldTo

ID of custom field to map to in project

emptyValuesToActionDescription

Whether to map empty values to action description

emptyValuesToActionCustomField

Whether to map empty values to action custom field

defaultDate

Default date configuration

customFieldItemType

Type of custom field

customFieldId

ID of custom field

mapTo

Field mapping configuration

values

Array of values

isRequired

Whether the field is required

visibleIf

Conditional visibility expression

enableIf

Conditional enable expression

maxSize

Maximum size for file uploads

hasOther

Whether to show 'Other' option

hasSelectAll

Whether to show 'Select All' option

showOtherItem

Whether to show the 'Other' item

showSelectAllItem

Whether to show the 'Select All' item

waitForUpload

Whether to wait for upload completion

detailElements

Nested form elements

Usages

#

References

#