Copy link to clipboard
Copied
I am trying to add the date picker field. When the PDF is opened in anything other than Acrobat, such as a browser, the date field becomes a regular text field. When I inspect the PDF in my browsers, the html has an input tag with type="text" instead of date. Is there any way in Acrobat that I can force type="date" so the date picker on the form I created will function in browsers?
Copy link to clipboard
Copied
No. The date picker is an Adobe invention. It's not a part of the PDF specifications, so browsers are not obliged to implement it. They don't even bother implementing the stuff they do have to, anyway...
If you want the file to be displayed properly, including the date picker, open it in Adobe Reader.
Copy link to clipboard
Copied
PS. PDFs do not contain HTML tags, so I'm not sure what you're looking at there...
Copy link to clipboard
Copied
If you open it in a browser and inspect(right click, choose inspect), there absolutely HTML tags used to render the PDF.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Looks like that you use pdfjs in the browser.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This is not a PDF file. It might be an interpretation of the browser of one, converting it to an HTML page, but it's not a PDF.
Copy link to clipboard
Copied
Yes, which is was I was wondering if someone knew of a script or something that would change the input type to date when it is opened in a browser. If that is even possible, I'm not sure.
Copy link to clipboard
Copied
Try a forum about HTML pages.