0

I just started to use the knockout validation plugin and I managed and I did manage to set up validation and from what I see the default behavior is to display for each validated property the errorMessage on it's right.

What I would like to be able to do is display all the messages in a central locations. is there any way to achieve this?

Cœur
  • 37,241
  • 25
  • 195
  • 267
aleczandru
  • 5,319
  • 15
  • 62
  • 112
  • Could you provide a [fiddle](http://jsfiddle.net/MdV8b/)? If you click that link, you'll have one with KO and Validation loaded. – Brigand Aug 03 '13 at 19:25

1 Answers1

1

This answer is pretty complete and offers you a fiddle

You have to use the validationMessage binding where you want to display your text.

<p data-bind="validationMessage: newItem"></p>
Community
  • 1
  • 1
Phil-R
  • 2,193
  • 18
  • 21