Project Config
Freeform settings can all be controlled via Craft's Project Config file.
Available Config Settings
If you wish to manage the configuration of Freeform settings via Craft's Project Config, here's a list of every setting currently available:
freeform:
# GENERAL INFO
edition: pro
enabled: true
licenseKey: EXAMPLETEST12EXAMPLETEST
schemaVersion: 5.0.0
settings:
# GENERAL SETTINGS
pluginName: ''
defaultView: dashboard
badgeType: all
# ELEMENT FIELD TYPE
formFieldShowOnlyAllowedForms: false
# EXPORTING
removeNewlines: true
exportLabels: true
exportHandlesAsNames: false
# SUBMISSION DATA
fillWithGet: true
updateSearchIndexes: true
purgableSubmissionAgeInDays: '365'
purgableUnfinalizedAssetAgeInMinutes: 180
# FORM SUBMIT BEHAVIOR
formSubmitDisable: true
autoScrollToErrors: true
autoScroll: true
rememberPageSubmitOrder: true
# FREEFORM SCRIPTS
scriptInsertLocation: footer
scriptInsertType: pointers
# FORM SESSIONS
sessionContext: payload
sessionContextSecret: ''
sessionContextTimeToLiveMinutes: '180'
sessionContextCount: '100'
sessionEntryMaxCount: 50
sessionEntryTTL: 10800
# SAVE & CONTINUE LATER
saveFormTtl: '14'
saveFormSessionLimit: '5'
# TEMPLATE MANAGER
formTemplateDirectory: _freeform/formatting/
emailTemplateDirectory: _freeform/emails/
emailTemplateStorageType: files_database
emailTemplateDefault: files
allowFileTemplateEdit: true
successTemplateDirectory: _freeform/success/
# SPAM BLOCKING
spamProtectionBehavior: simulate_success
bypassSpamCheckOnLoggedInUsers: false
spamFolderEnabled: true
purgableSpamAgeInDays: '60'
blockedEmails: '*@yahoo.com\n*.ru'
showErrorsForBlockedEmails: false
blockedEmailsError: 'Invalid Email Address'
blockedKeywords: "viagra\ncheesies\ntuna\r\n*Д*"
showErrorsForBlockedKeywords: false
blockedKeywordsError: 'Invalid Entry Data'
blockedIpAddresses: ''
submissionThrottlingCount: ''
submissionThrottlingTimeFrame: m
minimumSubmitTime: '5'
formSubmitExpiration: ''
# NOTICES & ALERTS
displayFeed: true
alertNotificationRecipients: bob@acmewidgets.net
digestFrequency: 2
digestRecipients: harry@acmewidgets.net
clientDigestFrequency: -1
clientDigestRecipients: bob@acmewidgets.net
digestOnlyOnProduction: false
## FORM BUILDER DEFAULTS
defaults:
previewHtml: true
twigInHtml: true
twigIsolation: true
includeSampleTemplates: true
notifications:
admin:
template:
value: admin.twig
locked: true
conditional:
template:
value: conditional.twig
locked: false
userSelect:
template:
value: admin.twig
locked: false
emailField:
template:
value: submitter.twig
locked: true
settings:
general:
formType:
value: Solspace\Freeform\Form\Types\Regular
locked: true
submissionTitle:
value: '{{ dateCreated|date("Y-m-d H:i:s") }}'
locked: false
formattingTemplate:
value: basic-light/index.twig
locked: false
dataStorage:
storeData:
value: true
locked: false
defaultStatus:
value: '2'
locked: true
collectIp:
value: true
locked: false
processing:
ajax:
value: true
locked: true
showIndicator:
value: true
locked: false
showText:
value: true
locked: false
processingText:
value: Processing...
locked: false
successAndErrors:
successBehavior:
value: reload
locked: false
returnUrl:
value: ''
locked: false
successTemplate:
value: general-success.twig
locked: false
successMessage:
value: 'Form has been submitted successfully!'
locked: false
errorMessage:
value: 'There was an error submitting the form.'
locked: false
limits:
duplicateCheck:
value: no_limit
locked: false
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160