Signature Form Integration
The Telerik UI Signature for ASP.NET Core allows you to integrate it inside a Telerik UI Form for ASP.NET Core. Furthermore, you can validate the Signature before the form is submitted.
To integrate the Signature inside a Telerik UI Form for ASP.NET Core component, add the Items.Editor
configuration of the form field to Signature
.
@(Html.Kendo().Form<Kendo.Mvc.Examples.Models.Form.FormItemsViewModels>()
.Name("exampleForm")
.Items(items =>
{
items.AddGroup()
.Label("Form")
.Items(i =>
{
i.Add()
.Field(f => f.Signature)
.Label(l => l.Text("Signature:").Optional(true))
.Editor(e => e.Signature());
});
})
)
<kendo-form name="exampleForm">
<form-items>
<form-item type="group">
<item-label text="Form" />
<form-items>
<form-item field="Signature">
<item-label text="Signature:" />
<signature-editor></signature-editor>
</form-item>
</form-items>
</form-item>
</form-items>
</kendo-form>