Answers for "input file'' accept pdf"

1

accept pdf input file

<input type="file" name="upload" accept="application/pdf,application/vnd.ms-excel" />
Posted by: Guest on May-26-2021
0

input type file allow only pdf

<input type="file" id="test" name="test" accept=".pdf,.doc"/>
Posted by: Guest on November-06-2020
0

how to ensure only pdf files are selected

<input type="file" name="upload" accept="application/pdf,application/vnd.ms-excel" />
Posted by: Guest on August-05-2020
0

input type=file'' accept only doc and pdf

<input #fileInput type="file" id="avatar" accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document" />

application/pdf means .pdf
application/msword means .doc
application/vnd.openxmlformats-officedocument.wordprocessingml.document means .docx
Posted by: Guest on May-01-2021
0

input type=file'' accept only doc and pdf

application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.presentationml.presentation
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language