Hi Narasimha,
As you might be writing data base query to show the values in the OVS popup. So in the available input field(for which OVS is attached), when the user enter's and input value and on performing any action read that input value and check whether the value exists in database or not.
If yes, allow him to proceed further else show and error message.
Thanks
Katrice