I have implemented custom rules for the Kendo Validator. I would like to be able to use a format string for my error message and replace parameters in it with values from the validation. For example, on the server side I am using a format string of: "{0} cannot contain two groups with the name '{1}'." and I replace {0} with a friendly name of the input and {1} with the duplicated group name (a value available as a result of the validation logic). If I use this same string as the error message for the Kendo validation rule, the {0} is being replaced automatically by the value of the "name" attribute on the input being validated, and the {1} is being removed.
Is there a standard way for me to provide my own values to format the validation error message?
Thanks,
Brian
Is there a standard way for me to provide my own values to format the validation error message?
Thanks,
Brian