diff --git a/components/form/formitems/template.md b/components/form/formitems/template.md index 468659aae..58a4f232f 100644 --- a/components/form/formitems/template.md +++ b/components/form/formitems/template.md @@ -12,176 +12,95 @@ position: 5 This article explains how to customize the editor of a single Form item. To customize the rendering and item structure of the whole Form, check the article [Form Template for All Items]({%slug form-formitems-formitemstemplate%}). -You can provide your own custom editors instead of the [default editors the form can generate]({%slug form-overview%}#automatic-generation-of-fields). To do that, use the the `Template` of the [FormItem]({%slug form-formitems%}). +## Basics -When the Template is used, the built-in validation messages from the Form will not be rendered. Instead you can use the [Telerik Validation tools]({%slug validation-tools-overview%}) to provide validation messages, or any other suitable component such as the `ValidationMessage` that comes with the framework. +Form item templates enables the app to: -In this article you can find the following examples: +* Replace the [default editor that the Form generates for a given data type]({%slug form-overview%}#automatic-generation-of-fields) with a different component. +* Use the usual editor component for a given data type, but customize the editor or handle additional events. -* [Use Template to provide custom editors](#use-template-to-provide-custom-editor) -* [Add validation messages to templated Form Items](#add-validation-messages-to-templated-form-items) +To use a form item template, add a `