Is there a way to check if the ID number I'm about to submit is already in the database?

Welcome to the community, @taher! You could do this with the dynamic data attachment feature as outlined in our support article: