Configuration
In Umbraco Forms it's possible to customize the functionality with various configuration values.
Editing configuration values
{
...
"Umbraco": {
"CMS": {
...
},
"Forms": {
...
}
}
} "Forms": {
"FormDesign": {
"DisableAutomaticAdditionOfDataConsentField": false,
"DisableDefaultWorkflow": false,
"MaxNumberOfColumnsInFormGroup": 12,
"DefaultTheme": "default",
"DefaultEmailTemplate": "Forms/Emails/Example-Template.cshtml",
"Defaults": {
"ManualApproval": false,
"DisableStylesheet": false,
"MarkFieldsIndicator": "NoIndicator",
"Indicator": "*",
"RequiredErrorMessage": "Please provide a value for {0}",
"InvalidErrorMessage": "Please provide a valid value for {0}",
"ShowValidationSummary": false,
"HideFieldValidationLabels": false,
"NextPageButtonLabel": "Next",
"PreviousPageButtonLabel": "Previous",
"SubmitButtonLabel": "Submit",
"MessageOnSubmit": "Thank you",
"StoreRecordsLocally": true,
"AutocompleteAttribute": "",
"DaysToRetainSubmittedRecordsFor": 0,
"DaysToRetainApprovedRecordsFor": 0,
"DaysToRetainRejectedRecordsFor": 0,
"ShowPagingOnMultiPageForms": "None",
"PagingDetailsFormat": "Page {0} of {1}",
"PageCaptionFormat": "Page {0}",
"ShowSummaryPageOnMultiPageForms": false,
"SummaryLabel": "Summary of Entry"
},
"RemoveProvidedFormTemplates": false,
"FormElementHtmlIdPrefix": "",
"SettingsCustomization": {
"DataSourceTypes": {},
"FieldTypes": {},
"PrevalueSourceTypes": {},
"WorkflowTypes": {},
},
"MandatoryFieldsetLegends": false,
"UseViewEngineFormThemeResolver": false
},
"Options": {
"IgnoreWorkFlowsOnEdit": "True",
"AllowEditableFormSubmissions": false,
"AppendQueryStringOnRedirectAfterFormSubmission": false,
"CultureToUseWhenParsingDatesForBackOffice": "",
"TriggerConditionsCheckOn": "change",
"ScheduledRecordDeletion": {
"Enabled": false,
"FirstRunTime": "",
"Period": "1.00:00:00"
},
"DisableRecordIndexing": false,
"EnableFormsApi": false,
"EnableRecordingOfIpWithFormSubmission": false,
"UseSemanticFieldsetRendering": false,
"DisableClientSideValidationDependencyCheck": false,
"DisableRelationTracking": false,
"TrackRenderedFormsStorageMethod": "HttpContextItems",
"EnableMultiPageFormSettings": true,
"EnableAdvancedValidationRules": false
},
"Security": {
"DisallowedFileUploadExtensions": "config,exe,dll,asp,aspx",
"AllowedFileUploadExtensions": "",
"EnableAntiForgeryToken": true,
"SavePlainTextPasswords": false,
"DisableFileUploadAccessProtection": false,
"DefaultUserAccessToNewForms": "Grant",
"ManageSecurityWithUserGroups": false,
"GrantAccessToNewFormsForUserGroups": "admin,editor",
"FormsApiKey": "",
"EnableAntiForgeryTokenForFormsApi": true,
},
"FieldTypes": {
"DatePicker": {
"DatePickerYearRange": 10,
"DatePickerFormat": "LL",
"DatePickerFormatForValidation": ""
},
"Recaptcha2": {
"PublicKey": "",
"PrivateKey": ""
},
"Recaptcha3": {
"SiteKey": "",
"PrivateKey": "",
"Domain": "Google",
"VerificationUrl": "https://www.google.com/recaptcha/api/siteverify",
"ShowFieldValidation": true
},
"RecaptchaEnterprise": {
"SiteKey": "",
"ApiKey": "",
"ProjectId": "",
"Domain": "Google",
"VerificationUrl": "https://recaptchaenterprise.googleapis.com/v1/projects/{PROJECT_ID}/assessments",
"ShowFieldValidation": true
},
"RichText": {
"DataTypeId": "ca90c950-0aff-4e72-b976-a30b1ac57dad"
},
"TitleAndDescription": {
"AllowUnsafeHtmlRendering": false
}
}
}Form design configuration
DisableAutomaticAdditionOfDataConsentField
DisableDefaultWorkflow
MaxNumberOfColumnsInFormGroup
DefaultTheme
DefaultEmailTemplate
RemoveProvidedFormTemplates
FormElementHtmlIdPrefix
SettingsCustomization
MandatoryFieldsetLegends
UseViewEngineFormThemeResolver
Form default settings configuration
ManualApproval
DisableStylesheet
MarkFieldsIndicator
Indicator
RequiredErrorMessage
InvalidErrorMessage
ShowValidationSummary
HideFieldValidationLabels
NextPageButtonLabel, PreviousPageButtonLabel, SubmitButtonLabel
MessageOnSubmit
StoreRecordsLocally
AutocompleteAttribute
DaysToRetainSubmittedRecordsFor
DaysToRetainApprovedRecordsFor
DaysToRetainRejectedRecordsFor
ShowPagingOnMultiPageForms
PagingDetailsFormat
PageCaptionFormat
ShowSummaryPageOnMultiPageForms
SummaryLabel
Package options configuration
IgnoreWorkFlowsOnEdit
AllowEditableFormSubmissions
AppendQueryStringOnRedirectAfterFormSubmission
CultureToUseWhenParsingDatesForBackOffice
TriggerConditionsCheckOn
ScheduledRecordDeletion
Enabled
FirstRunTime
Period
DisableRecordIndexing
EnableFormsApi
EnableRecordingOfIpWithFormSubmission
UseSemanticFieldsetRendering
DisableClientSideValidationDependencyCheck
DisableRelationTracking
TrackRenderedFormsStorageMethod
EnableMultiPageFormSettings
EnableAdvancedValidationRules
Security configuration
DisallowedFileUploadExtensions
AllowedFileUploadExtensions
EnableAntiForgeryToken
SavePlainTextPasswords
DisableFileUploadAccessProtection
DefaultUserAccessToNewForms
ManageSecurityWithUserGroups
GrantAccessToNewFormsForUserGroups
FormsApiKey and EnableAntiForgeryTokenForFormsApi
Field type specific configuration
Date picker field type configuration
DatePickerYearRange
DatePickerFormat
DatePickerFormatForValidation
reCAPTCHA v2 field type configuration
PublicKey & PrivateKey
reCAPTCHA v3 field type configuration
SiteKey & PrivateKey
Domain
VerificationUrl
ShowFieldValidation
reCAPTCHA Enterprise field type configuration
SiteKey, ApiKey & ProjectId
Domain
VerificationUrl
ShowFieldValidation
Rich text field type configuration
DataTypeId
Title and description field type configuration
AllowUnsafeHtmlRendering
Last updated
Was this helpful?