How we can mark validation in form that if the required data in not exist in uploaded file then the warning should appear to provide proper data?

Dear Sir,
Please help me with one more question how we can mark validation in form that if the required data in not exist in uploaded file then the warning should appear to provide proper data
For Example in our .CSV file id is 12345
if users put data 51254
then error msg come.

Could you provide more details on this?

Actually I want that the Firm I’d when entered , should be check in CSV file which is uploaded in media section and if the I’d is not matched in that file then it should prompt for entering correct ID.

integer firm_id Company ID yes
integer firm_id2 Company ID (re-enter) field-list ${firm_id}=${firm_id2} Both entries must match. Please re-enter. yes pulldata(‘list’, ‘firm_id2’, ‘firm_id’, ${firm_id})

@dipendra, as a workaround maybe you could do it as outlined in the post discussed previously: