I am using knockout.js & knockout.validation plugins. I am adding the example fiddle
In this example there is a custom validation for array to check duplicate entries. But my problem is with the validation message. By default the error message inserted just after the element on which validation is applied.But i want to show message on some different place. How can i do this?
You can use the
validationMessagebindingto display any of your proerties error message:And you can disable the automatically inserted validation message with the
validationOptionsbinding:See the documentation Validation Bindings section for more info.
Demo JSFiddle.