anahitasocial/anahita — pull request #28 by kulbakin (2013-10-24 02:07:25+00:00)
Title: fix: validate-remote

When there are 2 or more remote validators in form, there can be a
situation when clicking form submit button doesn't submit the form, such
situation happens if one of validators is hidden or disabled, thus field
is considered valid, though RemoteValidator:isSuccess() would return
false anyway thus resulting in form not being submitted.

The patch makes sure that element visibility or disable status is
checked according to global form validator options ignoreHidden and
ignoreDisabled correspondingly when isSuccess status of all remote
validators is determined.