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: 13/umbraco-forms/developer/configuration/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -526,7 +526,7 @@ A custom date format can be provided in [momentjs format](https://momentjscom.re
526
526
527
527
#### DatePickerFormatForValidation
528
528
529
-
If a custom date format is provided it will be used on the client-side. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, in order that server-side validation will match the expected format of the entry.
529
+
If a custom date format is provided it will be used on the client-side. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, so that server-side validation will match the expected format of the entry.
However, ifyouwanttoprovideacustomread-onlydisplayfor your field, you can do so by creating a second partial view. This should be named with a `.ReadOnly` suffix. For this example, we would create `FieldType.Slider.ReadOnly.cshtml`.
117
+
However, ifyouwanttoprovideacustomread-onlydisplayfor your field, you can do so by creating a second partial view. This should be named with a `.ReadOnly` suffix. For this example, you would create `FieldType.Slider.ReadOnly.cshtml`.
Copy file name to clipboardExpand all lines: 13/umbraco-forms/developer/themes.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,12 @@ If adding or amending client-side scripts, you need to copy the `Script.cshtml`
45
45
46
46
Umbraco Forms provides it's built-in themes as part of a Razor Class Library for ease of distribution. This can be useful for custom themes, particularly those used in multiple solutions or released as an Umbraco package.
47
47
48
-
From Forms 13.3 it's possible to do this for custom themes.
48
+
From Forms 13.3 it is possible to do this for custom themes.
49
49
50
-
Firstly you'll create a new Razor Class Library project to hold the theme. You then create the necessary partial views for your theme as usual within `Views\Partials\Forms\Themes\<my-custom-theme>`.
51
-
52
-
You then need to provide the names of the files in your theme via an implementation of `ITheme`. For example, if only overriding a single file, your class would look like this:
50
+
1. Create a new Razor Class Library project to hold the theme.
51
+
2. Create the necessary Partial Views for your theme within `Views\Partials\Forms\Themes\<my-custom-theme>`.
52
+
3. Provide the names of the files in your theme via an implementation of `ITheme`.
53
+
* For example, if only overriding a single file, your class would look like the code snippet below:
53
54
54
55
```csharp
55
56
usingUmbraco.Forms.Core.Interfaces;
@@ -67,7 +68,7 @@ public class MyCustomTheme : ITheme
67
68
}
68
69
```
69
70
70
-
In your project that consumes the theme, you register the ones you want to use via a composer:
71
+
4. Register the themes you want to use via a composer:
71
72
72
73
```csharp
73
74
publicclassMyComposer : IComposer
@@ -80,11 +81,11 @@ public class MyComposer : IComposer
80
81
}
81
82
```
82
83
83
-
With that in place your theme will be picked up for selection in the theme picker. And the partial view files included will be used when rendering forms.
84
+
Your theme will now be available in the Theme Picker and the partial view files will be used when rendering forms.
84
85
85
86
#### Email Templates
86
87
87
-
Email templates provided for the send email workflow can be provided in a Razor Class Library in a similar way.
88
+
Email templates provided for the send email workflow can be provided in a Razor Class Library similar to the Theme files.
88
89
89
90
The partial view will be created in `Views\Partials\Forms\Emails`.
Copy file name to clipboardExpand all lines: 13/umbraco-forms/release-notes.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,21 +23,21 @@ This section contains the release notes for Umbraco Forms 13 including all chang
23
23
24
24
The 13.3 release of Forms contains features that can improve the user experience of completing multi-page forms.
25
25
26
-
We've added the option for [editors to choose to display paging details on the forms](./editor/creating-a-form/form-settings.md#multi-page-forms). This will allow those completing forms to get a better understanding of progress as well as see details of the pages still to complete. [#281](https://github.com/umbraco/Umbraco.Forms.Issues/issues/281)[#648](https://github.com/umbraco/Umbraco.Forms.Issues/issues/648).
26
+
We have added the option for [editors to choose to display paging details on the forms](./editor/creating-a-form/form-settings.md#multi-page-forms). This will allow those completing forms to get a better understanding of progress as well as see details of the pages still to be completed. [#281](https://github.com/umbraco/Umbraco.Forms.Issues/issues/281)[#648](https://github.com/umbraco/Umbraco.Forms.Issues/issues/648).
27
27
28
-
These can be options are enabled and configured on a per-form basis by editors in the form settings section. We also provide a [configurationbased toggle for the feature as a whole](./developer/configuration/README.md#enablemultipageformsettings). In this way editors can be given access to use the feature only once the styling or theme is prepared.
28
+
These options are enabled and configured by editors in the Forms settings section on a per-form basis. We also provide a [configuration-based toggle for the feature as a whole](./developer/configuration/README.md#enablemultipageformsettings). In this way, editors can be given access to use the feature only once the styling or theme is prepared.
29
29
30
30
##### Ship themes in Razor Class Libraries
31
31
32
32
Forms ships it's themes and email templates as part of a razor class library for ease of distribution. With this release we make that feature [available to your own custom themes and templates](./developer/themes.md#shipping-themes-in-a-razor-class-library) (or those created by package developers) [#795](https://github.com/umbraco/Umbraco.Forms.Issues/issues/795).
33
33
34
34
##### Date picker field type
35
35
36
-
We've also made a couple of updates to the date picker field type. The format for the field can now be provided in configuration [#1276](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1276). And you can now override and localize the arialabel provided for assistive technologies such as screen readers [https://github.com/umbraco/Umbraco.Forms.Issues/issues/1082](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1082).
36
+
We have made a couple of updates to the Date Picker field type. The format for the field can now be provided in configuration [#1276](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1276). And you can now override and localize the aria-label provided for assistive technologies such as screen readers [https://github.com/umbraco/Umbraco.Forms.Issues/issues/1082](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1082).
37
37
38
38
##### Finer grained entries permissions
39
39
40
-
To allow finer control over editor permissions, we've introduced a "delete entries" setting available on users and user groups. Thus you can now give editors explicit permissions to view, edit or delete entries [#1303](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1303).
40
+
To allow finer control over editor permissions, we have introduced a "delete entries" setting for users and user groups. Thus you can now give editors explicit permissions to view, edit, or delete entries [#1303](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1303).
Copy file name to clipboardExpand all lines: 14/umbraco-forms/developer/configuration/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -523,7 +523,7 @@ A custom date format can be provided in [momentjs format](https://momentjscom.re
523
523
524
524
#### DatePickerFormatForValidation
525
525
526
-
If a custom date format is provided it will be used on the client-side. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, in order that server-side validation will match the expected format of the entry.
526
+
If a custom date format is provided it will be used on the client-side. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, so that server-side validation will match the expected format of the entry.
However, ifyouwanttoprovideacustomread-onlydisplayfor your field, you can do so by creating a second partial view. This should be named with a `.ReadOnly` suffix. For this example, we would create `FieldType.Slider.ReadOnly.cshtml`.
136
+
However, ifyouwanttoprovideacustomread-onlydisplayfor your field, you can do so by creating a second partial view. This should be named with a `.ReadOnly` suffix. For this example, you would create `FieldType.Slider.ReadOnly.cshtml`.
When forms are created, editors will want to add them to pages in Umbraco. To do this they need a Document Type with a property that uses a datatype based on a form picker property editor.
3
+
When forms are created, editors will want to add them to pages in Umbraco. To do this they need a Document Type with a property that uses a Data Type based on a Form Picker property editor.
4
4
5
5
Umbraco Forms provides three variations of a form picker.
Most commonly used is **Form Picker (single)**. This will allow the editor to select a single form for display on page.
10
10
11
-
Rarely but feasibly, you'll have a requirement to present multiple forms on a page. Should this be appropriate, you can use **Form Picker (multiple)**.
11
+
Rarely but feasibly, you will have a requirement to present multiple forms on a page. Should this be appropriate, you can use **Form Picker (multiple)**.
12
12
13
13
{% hint style="info" %}
14
14
Internally this is used for presenting the list of "Allowed forms" you can select when setting up a form picker datatype.
15
15
{% endhint %}
16
16
17
-
Finally you can provide further flexibility for the editor to select not only a form, but also the theme and redirect as well. For this you'll use the **Form Details Picker**.
17
+
Finally you can provide further flexibility for the editor to select not only a form, but also the theme and redirect as well. For this you will use the **Form Details Picker**.
18
18
19
19
## Configuring the Data Type
20
20
21
-
Each property editor allows you to restrict the forms that can be chosen with the datatype. You do this by setting either or both of the list of "Allowed folders" or "Allowed forms".
21
+
Each property editor allows you to restrict the forms that can be chosen with the Data Type. You do this by setting either or both of the list of "Allowed folders" or "Allowed forms".
@@ -36,4 +36,4 @@ The type of a property based on the form picker presented in a Razor class libra
36
36
37
37
## Content Delivery API Expansion
38
38
39
-
Each reference to a form supports expansion via the Umbraco Content Delivery API, as described [here](./ajaxforms.md#working-with-the-cms-content-delivery-api).
39
+
Each reference to a form supports expansion via the Umbraco Content Delivery API, as described in the [Working with the CMS Content Delivery API](./ajaxforms.md#working-with-the-cms-content-delivery-api) article.
Copy file name to clipboardExpand all lines: 14/umbraco-forms/developer/themes.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,12 @@ If adding or amending client-side scripts, you need to copy the `Script.cshtml`
46
46
47
47
Umbraco Forms provides it's built-in themes as part of a Razor Class Library for ease of distribution. This can be useful for custom themes, particularly those used in multiple solutions or released as an Umbraco package.
48
48
49
-
From Forms 14.2 it's possible to do this for custom themes.
49
+
From Forms 14.2 it is possible to do this for custom themes.
50
50
51
-
Firstly you'll create a new Razor Class Library project to hold the theme. You then create the necessary partial views for your theme as usual within `Views\Partials\Forms\Themes\<my-custom-theme>`.
52
-
53
-
You then need to provide the names of the files in your theme via an implementation of `ITheme`. For example, if only overriding a single file, your class would look like this:
51
+
1. Create a new Razor Class Library project to hold the theme.
52
+
2. Create the necessary Partial Views for your theme within `Views\Partials\Forms\Themes\<my-custom-theme>`.
53
+
3. Provide the names of the files in your theme via an implementation of `ITheme`.
54
+
* For example, if only overriding a single file, your class would look like the code snippet below:
54
55
55
56
```csharp
56
57
usingUmbraco.Forms.Core.Interfaces;
@@ -68,7 +69,7 @@ public class MyCustomTheme : ITheme
68
69
}
69
70
```
70
71
71
-
In your project that consumes the theme, you register the ones you want to use via a composer:
72
+
4. Register the themes you want to use via a composer:
72
73
73
74
```csharp
74
75
publicclassMyComposer : IComposer
@@ -81,11 +82,11 @@ public class MyComposer : IComposer
81
82
}
82
83
```
83
84
84
-
With that in place your theme will be picked up for selection in the theme picker. And the partial view files included will be used when rendering forms.
85
+
Your theme will now be available in the Theme Picker and the partial view files will be used when rendering forms.
85
86
86
87
#### Email Templates
87
88
88
-
Email templates provided for the send email workflow can be provided in a Razor Class Library in a similar way.
89
+
Email templates provided for the send email workflow can be provided in a Razor Class Library similar to the Themes files.
89
90
90
91
The partial view will be created in `Views\Partials\Forms\Emails`.
Copy file name to clipboardExpand all lines: 14/umbraco-forms/release-notes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ This section contains the release notes for Umbraco Forms 14 including all chang
24
24
25
25
The 14.2 release of Forms contains features that can improve the user experience of completing multi-page forms.
26
26
27
-
We've added the option for [editors to choose to display paging details on the forms](./editor/creating-a-form/form-settings.md#multi-page-forms). This will allow those completing forms to get a better understanding of progress as well as see details of the pages still to complete. [#281](https://github.com/umbraco/Umbraco.Forms.Issues/issues/281)[#648](https://github.com/umbraco/Umbraco.Forms.Issues/issues/648).
27
+
We have added the option for [editors to choose to display paging details on the forms](./editor/creating-a-form/form-settings.md#multi-page-forms). This will allow those completing forms to get a better understanding of progress as well as see details of the pages still to be completed. [#281](https://github.com/umbraco/Umbraco.Forms.Issues/issues/281)[#648](https://github.com/umbraco/Umbraco.Forms.Issues/issues/648).
28
28
29
-
These can be options are enabled and configured on a per-form basis by editors in the form settings section. We also provide a [configurationbased toggle for the feature as a whole](./developer/configuration/README.md#enablemultipageformsettings). In this way editors can be given access to use the feature only once the styling or theme is prepared.
29
+
These options are enabled and configured by editors in the Forms settings section on a per-form basis. We also provide a [configuration-based toggle for the feature as a whole](./developer/configuration/README.md#enablemultipageformsettings). In this way, editors can be given access to use the feature only once the styling or theme is prepared.
30
30
31
31
##### Form picker enhancements
32
32
@@ -48,7 +48,7 @@ When creating a prevalue source based on Umbraco documents, you can now select c
48
48
49
49
##### Finer grained entries permissions
50
50
51
-
To allow finer control over editor permissions, we've introduced a "delete entries" setting available on users and user groups. Thus you can now give editors explicit permissions to view, edit or delete entries [#1303](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1303).
51
+
To allow finer control over editor permissions, we have introduced a "delete entries" setting for users and user groups. Thus you can now give editors explicit permissions to view, edit, or delete entries [#1303](https://github.com/umbraco/Umbraco.Forms.Issues/issues/1303).
Copy file name to clipboardExpand all lines: 15/umbraco-forms/developer/configuration/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -516,7 +516,7 @@ A custom date format can be provided in [momentjs format](https://momentjscom.re
516
516
517
517
#### DatePickerFormatForValidation
518
518
519
-
If a custom date format is provided it will be used on the client-side. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, in order that server-side validation will match the expected format of the entry.
519
+
If a custom date format is provided it will be used on the clientside. A matching string in [C# date format](https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings) should be provided, so that server-side validation will match the expected format of the entry.
0 commit comments