Dear all,
I have file upload that only pdf file type allowed. We know that fileupload action only works on submit event.
How to add file accept on file upload chronoform on load?
Thank you
Hi Yudhizth,
Why would you want to do that - they user can't upload a file before the form loads???
Bob
Thank you Bob,
Because we have regulation that requires only pdf file to upload, so to prevent user upload another file type, I want to do that
Yudhizth
for clarity,
When I click fileupload button, only pdf file allowed. another filetype will cannot be selected
Thank you
Hi Yudhizth,
You can set the allowed filetypes in the Files Upload action. It might be possible to check the type before the upload if the user has an HTML5 browser but ChronoForms doesn't support that at present.
Bob
Fabulous,
Thankyou Bob 😀