Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

File Upload Validation JavaScript in Advance Form


Need help. I created advance form with multiple steps and has got multiple condition eg. Yes and No fields. When user select Yes the upload file field is shown and with No its hidden which work perfectly fine. Now when I am trying put validation on File upload when the field is select Yes. So far I have used the custom JavaScript for validation of Image fields using however, when I try to use the File field it gives me null value even when the file is uploaded. Any help is appreciated. 


Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (2,811)