From 2801021fab856e97c40967ce5c9c0cdddee137b3 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Tue, 2 Apr 2024 15:52:28 +0200 Subject: [PATCH 1/3] e.g. --> for example --- 13/umbraco-forms/developer/field-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-forms/developer/field-types.md b/13/umbraco-forms/developer/field-types.md index 9e784111f68..6e7aeea5f6f 100644 --- a/13/umbraco-forms/developer/field-types.md +++ b/13/umbraco-forms/developer/field-types.md @@ -12,4 +12,4 @@ 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 `` to a higher number (e.g. 100) +Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `` to a higher number (for example 100) From 8d231be14b628f91dd0951d3237be71a7038b5fd Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Tue, 2 Apr 2024 15:54:48 +0200 Subject: [PATCH 2/3] Write shorter sentences --- 13/umbraco-forms/developer/field-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/13/umbraco-forms/developer/field-types.md b/13/umbraco-forms/developer/field-types.md index 6e7aeea5f6f..817e5343868 100644 --- a/13/umbraco-forms/developer/field-types.md +++ b/13/umbraco-forms/developer/field-types.md @@ -4,9 +4,9 @@ Umbraco Forms comes with a number of Field Types to allow you to request certain ## Date Picker -The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. Using JavaScript we update a hidden field with a standard date format to send to the server for storing the record submission in a standard format. This is to avoid locale mixing up dates. +The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. In JavaScript, we update a hidden field with a standard date format. This is done to send the date to the server, ensuring the record submission is stored in a standard format. This is to avoid locale mixing up dates. -To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, this includes the MomentJS library to help with the date locale formatting & the appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. +To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, it also includes the MomentJS library to assist with date locale formatting. Additionally, there are appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. ### Date Picker configuration of the year range From b7fbf230a2091f6c258bb7b259aab6a9ca56cd29 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Tue, 2 Apr 2024 15:58:44 +0200 Subject: [PATCH 3/3] Update v12 & 10 --- 10/umbraco-forms/developer/field-types.md | 6 +++--- 12/umbraco-forms/developer/field-types.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/10/umbraco-forms/developer/field-types.md b/10/umbraco-forms/developer/field-types.md index fcf47cb4d84..17649bf5307 100644 --- a/10/umbraco-forms/developer/field-types.md +++ b/10/umbraco-forms/developer/field-types.md @@ -8,12 +8,12 @@ Umbraco Forms comes with a number of Field Types to allow you to request certain ## Date Picker -The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. Using JavaScript we update a hidden field with a standard date format to send to the server for storing the record submission in a standard format. This is to avoid locale mixing up dates. +The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. In JavaScript, we update a hidden field with a standard date format. This is done to send the date to the server, ensuring the record submission is stored in a standard format. This is to avoid locale mixing up dates. -To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, this includes the MomentJS library to help with the date locale formatting & the appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. +To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, it also includes the MomentJS library to assist with date locale formatting. Additionally, there are appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. ### Date Picker configuration of the year range 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 `` to a higher number (e.g. 100) +Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `` to a higher number (for example 100) diff --git a/12/umbraco-forms/developer/field-types.md b/12/umbraco-forms/developer/field-types.md index 9e784111f68..817e5343868 100644 --- a/12/umbraco-forms/developer/field-types.md +++ b/12/umbraco-forms/developer/field-types.md @@ -4,12 +4,12 @@ Umbraco Forms comes with a number of Field Types to allow you to request certain ## Date Picker -The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. Using JavaScript we update a hidden field with a standard date format to send to the server for storing the record submission in a standard format. This is to avoid locale mixing up dates. +The date picker uses a front-end library called [PikaDay.js](https://github.com/dbushell/Pikaday) to display a UI to pick dates from. We have added the support for the Pikaday date picker to be localized based on the page the form is rendered on. This displays the picked date in the correct locale. In JavaScript, we update a hidden field with a standard date format. This is done to send the date to the server, ensuring the record submission is stored in a standard format. This is to avoid locale mixing up dates. -To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, this includes the MomentJS library to help with the date locale formatting & the appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. +To achieve this a new Razor partial view is included `/Views/Partials/Forms/DatePicker.cshtml`. Once on a page with a form that includes a Date Picker, it also includes the MomentJS library to assist with date locale formatting. Additionally, there are appropriate changes to Pikaday.js to support the locales. If you wish to use a different DatePicker component this is the file that you would customize to your needs. ### Date Picker configuration of the year range 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 `` to a higher number (e.g. 100) +Go to `~/App_Data/UmbracoForms/umbracoforms.config` and update `` to a higher number (for example 100)