I would like to have a form field in a PDF that autofills with the date formatted as "YYWK", where YY is the 2-digit year and WK is the ISO week. I have seen code here on how to display the ISO week (https://weeknumber.net/how-to/javascript). What I don't know how to do is to integrate this into a PDF document.
This behavior should update the date every time the PDF is printed.
Edit: The 2-digit year is a customer requirement which I have no control over.
Edit2: I was able to get an answer on the Adobe forums, if anyone else ever ends up having a similar question. https://forums.adobe.com/message/9739107#9739107