In the frontend ,i have a text box which accepts program id .If we gives
value in that , it will get stored in sql database, but before storing
i want to check whether the program id is exist in database. If exist
instruct the user to give another program id. If not then ok to insert.
how can i validate this input?
Thanks in advance.