Some PDF readers might support a date picker for a text field that contains a date format, as explained here: How to create datepicker using JavaScript in Acrobat DC Pro?

This article gave me the impression that I have to format the \TextField from hyperref for dates. Currently I've no idea how to achieve this. I've tried to figure out which properties of the text field I need to change in JavaScript with the help of Acrobat DC SDK Documentation, but I can't find anything that works. Perhaps I've missed something.

Does anyone know how?


This needs javascript and if I got your link right a recent adobe reader.


\TextField[format   ={AFDate_FormatEx("dd.mm.yyyy");},


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.