Custom.Types
The Answer type
{ value : String }
The AnswerData type
{ value : Basics.Bool }
The BoolEntryData type
{ formId : Basics.Int
, sectionId : Basics.Int
, fieldGroupId : Basics.Int
, fieldId : Basics.Int
, fieldType : FieldType
, domId : String
, onlyStateChange : Basics.Bool
}
The ChargeArgs type
{ onChange : ChangeArgs -> Answer -> msg
, onEnter : msg
, dateFormatter : Date -> String
, onGotoPage : { pageId : Basics.Int } -> msg
, localization : Engage.Localization.Localization
, countries : Engage.Entity.Address.Countries
, regions : Engage.Entity.Address.RegionsCountry
}
The Config type
The Disable type
The Entry type
{ value : String }
The EntryData type
{ fieldId : Basics.Int
, relativeOrder : Basics.Int
, label : String
, description : String
, fieldType : FieldType
, required : Basics.Bool
, errorMessage : String
, disable : Disable
, valueMin : String
, valueMax : String
, valueStep : String
, updateOptions : UpdateOptions
}
The Field type
{ fieldChoiceId : Maybe Basics.Int
, name : String
, value : String
, relativeOrder : Basics.Int
}
The FieldChoice type
{ fieldGroupId : Basics.Int
, fields : Dict Basics.Int Field
, relativeOrder : Basics.Int
}
The FieldGroup type
The FieldType type
{ name : String
, fileType : String
, status : FileStatus
}
The FileEntryData type
The FileStatus type
{ formId : Basics.Int
, sectionId : Basics.Int
, fieldGroupId : Basics.Int
, fieldId : Basics.Int
, errorMessage : String
}
The FileUploadError type
{ formId : Basics.Int
, sectionId : Basics.Int
, fieldGroupId : Basics.Int
, fieldId : Basics.Int
, progressPercentage : Basics.Float
}
The FileUploadProgress type
{ formId : Basics.Int
, sectionId : Basics.Int
, fieldGroupId : Basics.Int
, fieldId : Basics.Int
, formFilloutId : Basics.Int
}
The FileUploadStatus type
{ formId : Basics.Int
, formFilloutId : Maybe Basics.Int
, name : String
, sections : Dict Basics.Int Section
, formLevel : Level
, relativeOrder : Basics.Int
, validations : Engage.Validation.ValidationErrors { fieldId : Basics.Int }
}
The Form type
The Level type
{ values : Set String }
The MultipleEntryData type
{ sectionId : Basics.Int
, name : String
, relativeOrder : Basics.Int
, optional : Basics.Bool
, optionalLabel : String
, adminOnly : Basics.Bool
, fieldGroups : Dict Basics.Int FieldGroup
}
The Section type
The StaticFormType type
The UpdateOptions type
defaultCompanyForm : Form
Get the default Company Form
defaultConfig : { onChange : ChangeArgs -> Answer -> msg, onEnter : msg, onGotoPage : { pageId : Basics.Int } -> msg, localization : Engage.Localization.Localization } -> Config msg
Get the default Config
defaultParticipantForm : Form
Get the default Participant Form