Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
10

Adobe Date picker field does not work on browsers

Community Beginner ,
Oct 03, 2023 Oct 03, 2023

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?

TOPICS
General troubleshooting , How to , PDF , PDF forms
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2023 Oct 03, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2023 Oct 03, 2023

PS. PDFs do not contain HTML tags, so I'm not sure what you're looking at there...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 04, 2023 Oct 04, 2023

If you open it in a browser and inspect(right click, choose inspect), there absolutely HTML tags used to render the PDF.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 04, 2023 Oct 04, 2023
 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2023 Oct 04, 2023

Looks like that you use pdfjs in the browser.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 04, 2023 Oct 04, 2023

As you can see here, when the input type is changed to "date", it is functional in browsers. So I was wondering if there is a script or something that can be added to force that change when it is opened in a browser.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2023 Oct 04, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 04, 2023 Oct 04, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2023 Oct 04, 2023
LATEST

Try a forum about HTML pages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines