How to bring error message
My requirement is
im giving First name , Last Name and saving the data by clicking on save.
if the first First name and last name is already present in the database then its should not save
but it should show some error message ......but here in this scenario its saving ......and not bringing the error message...