I need to add validation on Insert button while adding Hyperlink to text. Validation will be like, URL for hyperlink should start with either http or https.
Please refer the attached image
Thanks.
1 Answer, 1 is accepted
0
Vladimir Iliev
Telerik team
answered on 07 Dec 2015, 02:53 PM
Hi,
The desired behavior is not supported out if the box and custom code would be required. For example you can use the "execute" event of the editor to get the executed command and attach Kendo UI validator to it's dialog. You should also attach custom "click" handlers to the "Insert" button in which to validate the form and close the command. Please check the example below: