79457978

Date: 2025-02-21 16:08:30
Score: 0.5
Natty:
Report link

I found a solution to my problem without need to run JavaScript when PDF-File is opened.

In case somebody need this, DateTime-Picker can be added to the PDF-Document using the following annotation. It basically adds script 'AFDate_FormatEx("dd.mm.yyyy")' for 'Format' and 'Keystroke' actions.

/AA <<
/F <<
/JS (AFDate_FormatEx\("dd.mm.yyyy"\))
/S /JavaScript
>> 
/K <<
/JS (AFDate_FormatEx\("dd.mm.yyyy"\))
/S /JavaScript
>> 
>> 
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3653175