Skip to Main Content

af:inputfile validation pdf only

2668788Sep 30 2014 — edited Oct 1 2014

Hi everyone,

I use version of jdev. I have 8 different inputfile in one page and i have only one upload button to upload all files which are gathered by these af:inputfile attributes, I just want to allow users to upload only adf files and if they browse any other files except pdf, whenever they browse the file, I want to popup an error message which shows they cannot update any other file except pdf but to be able to do it, I need to use autoSubmit, but if I use autosubmit, I need to upload the files whenever they browse the files but I want to upload all files together at the end of page. Is there anyway to do it? I appreciate any answer.

Thank you.

Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Oct 29 2014
Added on Sep 30 2014