AJAX and Client Validations

Is it possible to use AJAX and still do client validations using CAF 7.1? I been having problem calling Flow Services and setting values back to controls, when there is a control that require client validation. The problem occurs when I set immediate property on the async commands buttons, so client validation are skip.

What is the best way to deal with this problem?