Can we make a tooltip as error message?

I have a form wich contains some fields,when the user leaves one of these fields empty,I change the border color to red and I attached a red tooltip to explain the error ,is it possible to make tooltip as error message or should display a popup? enter image description here