I want to give a condition in uploading resume or identity proof that if someone upload file having extension other than .pdf then error should be displayed and again option should appear in front of user to upload file.
I want to give a condition in uploading photo that if someone upload file having extension other than .jpg or .png then error should be displayed and again option should appear in front of user to upload file.
But if user upload correct extension file in photo and resume or identity proof then no error should be displayed.
Discussion posts and replies are publicly visible
This is what the "validations" parameter on the a!fileUploadField() component is for. The component (now) handles this use case directly and easily without the need of any particular work-arounds. What have you already tried / what isn't working as you'd expect?
Please have to look into https://docs.appian.com/suite/help/22.3/File_Upload_Component.html. Here they mentioned everything regarding the validations.