Exist validator checking in two tables

I need to check if email exists ( stored in one table ) but also filter it by status ( stored in second table ).

Is this possible with "exist" core validator ? And if not, is there any workaround ?


"exist" accepts the view. you may create view in db and use it in validator.

second solution is inline validator

Thank you, inline validators work like a charm :)