You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-forms/developer/configuration/README.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ With Umbraco Forms it's possible to customize the functionality with various con
12
12
13
13
All configuration for Umbraco Forms is held in the `appsettings.json` file found at the root of your Umbraco website. If the configuration has been customized to use another source, then the same keys and values discussed in this article can be applied there.
14
14
15
-
The convention for Umbraco configuration is to have packagebased options stored as a child structure below the `Umbraco` element, and as a sibling of `CMS`. Forms configuration follows this pattern, i.e.:
15
+
The convention for Umbraco configuration is to have package-based options stored as a child structure below the `Umbraco` element, and as a sibling of `CMS`. Forms configuration follows this pattern, i.e.:
16
16
17
17
```json
18
18
{
@@ -53,6 +53,7 @@ For illustration purposes, the following structure represents the full set of op
53
53
"PreviousPageButtonLabel": "Previous",
54
54
"SubmitButtonLabel": "Submit",
55
55
"MessageOnSubmit": "Thank you",
56
+
"MessageOnSubmitIsHtml": false,
56
57
"StoreRecordsLocally": true,
57
58
"AutocompleteAttribute": "",
58
59
"DaysToRetainSubmittedRecordsFor": 0,
@@ -89,15 +90,14 @@ For illustration purposes, the following structure represents the full set of op
@@ -304,6 +304,10 @@ These settings configure the default next, previous, and submit button labels. B
304
304
305
305
This allows you to configure what text is displayed when a form is submitted and is not being redirected to a different content node. Defaults to `Thank you`.
306
306
307
+
#### MessageOnSubmitIsHtml
308
+
309
+
This setting needs to be a `true` or `false` value. When set to `true`, the message configured in `MessageOnSubmit` is rendered as HTML. Defaults to `false`.
310
+
307
311
#### StoreRecordsLocally
308
312
309
313
This setting needs to be a `True` or `False` value and will allow you to toggle if form submission data should be stored in the Umbraco Forms database tables. By default this is set to `True`.
@@ -424,14 +428,6 @@ To include this information in the saved data, set this value to `true`.
424
428
425
429
If recording IPs and your site is behind a proxy, load balancer or CDN, we recommend using [ASP.NET's forwarded headers middleware](https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-7.0) to ensure the correct value for the client IP is resolved.
426
430
427
-
### UseSemanticFieldsetRendering
428
-
429
-
In Forms 12.1 amends were made to the default theme for Forms that improved accessibility. Specifically we provide the option to use alternative markup for rendering checkbox and radio button lists. These use the more semantically correct `fieldset` and `legend` elements, instead of the previously used `div` and `label`.
430
-
431
-
Although this semantic markup is preferred, it could be a presentational breaking change for those styling the default theme. As such we have made this markup improvement optional. You can opt into using it by setting this configuration value to `true`.
432
-
433
-
In Umbraco 13 this configuration option will be removed and the semantic rendering made the only option.
434
-
435
431
### DisableClientSideValidationDependencyCheck
436
432
437
433
When a form is rendered on the front-end website, a check is run to ensure that client-side validation framework is available and registered.
0 commit comments