Remote validation test using valid()

Remote validation test using valid()

I'm using MVC and jquery unobtrusive validation. I have a field that is marked for remote validation (via metadata in the C# class).
 
I need to manually validate a form on the client (as I'm not submitting it, it's a form inside a modal popup). When I call code to validate the form:
 
$.validator.unobtrusive.parse('#myform');
var isValid = $('#myform').valid();
 
'isValid' returns true despite the remote validation being called and returning false. I can't find a tidy solution to wait for remote validation to return and give me a value.
 
Incidently, the same field with remote validation has required and regex validation that doesn't fire with the remote validation set.