ericmbarnard/Knockout-Validation — pull request #67 by dgaviola (2012-05-23 02:24:08+00:00)
Title: New isAnyMessageShown() method to validatedObservable

There are times where I want to show a general message when there is a message error being shown.

For example, I want to show a general message at the bottom of the form saying something like 'There are validation error. Please fix them.'. As this is a new object which values are not valid, the isValid() method does not work, as I need to go though all the fields and see if any of them is invalid and has been modified.

For that I added a new isAnyMessageShown() to validatedObservable.

The corresponding tests were also added.

Thanks