Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion 16/umbraco-forms/editor/creating-a-form/conditional-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,21 @@ When applying a condition to a page, effectively you are controlling the display

## Conditions for Dates

You can apply conditions to dates as well as strings. When you use the date picker field, you can set a condition if a submitted date is greater/less than a specific date.
To use less-than or greater-than conditions on dates, you must change the date format.

By default, date is shown like `September 5, 2025`. This needs to change to a format only containing numbers: `09/05/2025`.

To change the default format setting for dates, follow the steps below:

1. Open the `appSettings.json` file.
2. Change the `DatePickerFormat` value to `L` (the default is `LL`):

```json
"Forms": {
"FieldTypes": {
"DatePicker": {
"DatePickerFormat": "L"
}
}
}
```