From cdd986464f20fac76a8b65a555931356dd19953b Mon Sep 17 00:00:00 2001 From: Chris Ashton Date: Fri, 12 Jan 2024 23:21:57 +0000 Subject: [PATCH 1/2] Custom fieldtype path incorrect in custom-markup.md Instructions for creating custom fieldtypes in a custom form are missing the `Fieldtypes` directory in the path. Tested on Umbraco 12.12.3 with Form 12.2.1. --- 12/umbraco-forms/developer/custom-markup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/umbraco-forms/developer/custom-markup.md b/12/umbraco-forms/developer/custom-markup.md index f81bb8fb9a2..5b903b80a84 100644 --- a/12/umbraco-forms/developer/custom-markup.md +++ b/12/umbraco-forms/developer/custom-markup.md @@ -83,4 +83,4 @@ You will need to create folder using the ID of the Form: `~\Views\Partials\Forms As an example if your Form ID is 0d3e6b2d-db8a-43e5-8f28-36241d712487 then you can overwrite the Form view by adding the `Form.cshtml` file to the directory. Start by copying the default one and then making your custom changes: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Form.cshtml`. -You can also overwrite views for one or more fieldtypes by adding the views to the folder: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Fieldtype.Textfield.cshtml`. +You can also overwrite views for one or more fieldtypes by adding the views to the folder: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Fieldtypes\Fieldtype.Textfield.cshtml`. From 67e51537d1010bfae258534fe5b2d991b97e59c4 Mon Sep 17 00:00:00 2001 From: Alina-Magdalena Tincas <83591955+alina-tincas@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:57:45 +0100 Subject: [PATCH 2/2] Update 12/umbraco-forms/developer/custom-markup.md --- 12/umbraco-forms/developer/custom-markup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/umbraco-forms/developer/custom-markup.md b/12/umbraco-forms/developer/custom-markup.md index 5b903b80a84..65d29f0059a 100644 --- a/12/umbraco-forms/developer/custom-markup.md +++ b/12/umbraco-forms/developer/custom-markup.md @@ -83,4 +83,4 @@ You will need to create folder using the ID of the Form: `~\Views\Partials\Forms As an example if your Form ID is 0d3e6b2d-db8a-43e5-8f28-36241d712487 then you can overwrite the Form view by adding the `Form.cshtml` file to the directory. Start by copying the default one and then making your custom changes: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Form.cshtml`. -You can also overwrite views for one or more fieldtypes by adding the views to the folder: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Fieldtypes\Fieldtype.Textfield.cshtml`. +You can also overwrite views for one or more fieldtypes by adding the views to the `Fieldtypes` folder: `~\Views\Partials\Forms\0d3e6b2d-db8a-43e5-8f28-36241d712487\Fieldtypes\Fieldtype.Textfield.cshtml`.