Copy link to clipboard
Copied
Is there a way that I could make the month all lower case once the date has been validated? I've tried event.value = event.value.toLowerCase() in the action tab once the field is deactivated and what not...
It may not seem like much but it's a flagrant spelling error in French. Thank you if someone can help.
Hi.
To get a French date (without cap letters) you must use this:
event.target.value = util.printd("date(fr){D MMMM YYYY}", new Date(), true)
Copy link to clipboard
Copied
Not unless you want to write custom scripts for keystroke, format, and validation. Note you will need to perform the necessary date validation to insure only valid dates are entered.
You might want to file a Feature Request/Bug Report through Adobe.com.
Copy link to clipboard
Copied
Thank you.
Copy link to clipboard
Copied
I believe some forum regulars already developed this code... Try searching for similar keywords like "french date format".
Copy link to clipboard
Copied
Thank you for the tip. What I found was specific to number format, couldn't find anything related to the date. I'll look on the web.
Copy link to clipboard
Copied
Hi.
To get a French date (without cap letters) you must use this:
event.target.value = util.printd("date(fr){D MMMM YYYY}", new Date(), true)
Copy link to clipboard
Copied
Hi, the format is right. Is there a way that I can apply this to a date chosen from the calendar field without deactivating the calendar? Thank you so much.
Copy link to clipboard
Copied
I don't know if it's doable with the embedded date picker, but it works fine with my MagicDate picker: https://www.abracadabrapdf.net/utilities-in-english/acrobat-utilities/magicdate-picker/
Find more inspiration, events, and resources on the new Adobe Community
Explore Now