pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Kremer <...@khk.net>
Subject Re: Date component in PDF
Date Tue, 17 Jan 2017 16:40:22 GMT
The latest update to Adobe Acrobat and Adobe Reader DC does now finally
support a data picker. The way this works is that you create a normal date
field - meaning a text field with a date format applied - and when such a
field is displayed in the latest version of Acrobat/Reader, a date picker
is shown. See here for more information:

This means all you need to do is mimic what a date field created in Acrobat
looks like. You would do that by creating one, and then analyzing what the
field format and validation options look like (e.g. using the PDFBox
Debugger). If you need a sample, you can download one from here:

There are other date pickers, which are implemented as JavaScript in the
PDF form. If you want to implement something like that, you would have to
get such a date picker, apply it to a document, and then again reverse
engineer how this information is stored inside the field object.

Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message