Hi Prolay...
in the onexit (browser) code of the first field, check what you need (if necessary via ajax for the server verif)... Then do a returntocapture to go to the other field or back to the current one...
Greying the field is possible in javascript only in browser code, if I remember correctly, but it's doable...
Best regards