How to validate a pull data if the information is not there in the CSV file?

Hello,
I have “studID”(Question type -text) as a question in form and studID Data (250 rows) in csv file .I want to update new studID whenever new student joins the school so how to match a data from csv file and validate this and print error message if value (studID) already exists so enter new studID.

So what’s the validation logic can be used!

Kindly reply so it"ll be helpful for my project !!

Welcome to the community, @Dharsh! This post discussed previously should help you solve your issue: