Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 17 additions & 1 deletion 10/umbraco-forms/developer/field-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,20 @@ To achieve this a new Razor partial view is included `/Views/Partials/Forms/Date

The `DatePicker` has one configuration setting to control the number of year shown. The default is 10 years which makes the picker unusable for picking birth dates.

Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `<setting key="DatePickerYearRange" value="10" />` to a higher number (for example 100)
Go to your `appsettings.json` and add:
```json
"Umbraco": {
"CMS": {
...
},
"Forms": {
"FieldTypes": {
"DatePicker": {
"DatePickerYearRange": 12
}
}
}
}
```

You can then change the `DatePickerYearRange` to a higher number (for example 100).
18 changes: 17 additions & 1 deletion 12/umbraco-forms/developer/field-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,20 @@ To achieve this a new Razor partial view is included `/Views/Partials/Forms/Date

The `DatePicker` has one configuration setting to control the number of year shown. The default is 10 years which makes the picker unusable for picking birth dates.

Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `<setting key="DatePickerYearRange" value="10" />` to a higher number (for example 100)
Go to your `appsettings.json` and add:
```json
"Umbraco": {
"CMS": {
...
},
"Forms": {
"FieldTypes": {
"DatePicker": {
"DatePickerYearRange": 12
}
}
}
}
```

You can then change the `DatePickerYearRange` to a higher number (for example 100).
18 changes: 17 additions & 1 deletion 13/umbraco-forms/developer/field-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,20 @@ To achieve this a new Razor partial view is included `/Views/Partials/Forms/Date

The `DatePicker` has one configuration setting to control the number of year shown. The default is 10 years which makes the picker unusable for picking birth dates.

Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `<setting key="DatePickerYearRange" value="10" />` to a higher number (for example 100)
Go to your `appsettings.json` and add:
```json
"Umbraco": {
"CMS": {
...
},
"Forms": {
"FieldTypes": {
"DatePicker": {
"DatePickerYearRange": 12
}
}
}
}
```

You can then change the `DatePickerYearRange` to a higher number (for example 100).