Skip to content

Commit ef1b169

Browse files
committed
Update date format config info
1 parent 3551681 commit ef1b169

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

16/umbraco-forms/editor/creating-a-form/conditional-logic.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,14 @@ When applying a condition to a page, effectively you are controlling the display
6161

6262
## Conditions for Dates
6363

64-
In order to use less than and greater than conditions on dates, you must first change the date format.
64+
In order to use less than and greater than conditions on dates, you must change the date format.
65+
66+
By default, date is shown like `September 5, 2025`. This needs to change to a format only containing numbers: `09/05/2025`.
67+
68+
To change the default format setting for dates, follow the steps below:
6569

6670
1. Open the `appSettings.json` file.
67-
2. Add the following, below the CMS section within the Umbraco section.
71+
2. Change the `DatePickerFormat` value to `L` (the default is `LL`):
6872

6973
´´´json
7074
"Forms": {
@@ -75,6 +79,3 @@ In order to use less than and greater than conditions on dates, you must first c
7579
}
7680
}
7781
´´´
78-
You can apply conditions to dates as well as strings.
79-
80-
When you use the date picker field, you can set a condition if a submitted date is greater/less than a specific date.

0 commit comments

Comments
 (0)