email id

I have a form where a user needs to fill it. I have an email id field in it. So, now when a user enters the email I need to check whether the entered email id is already there in the records or not. If email id already presents it should throw an error in the interface saying "email id already exists".

Can anyone please let me know how to apply this scenario in my interface! 

  Discussion posts and replies are publicly visible