Copy link to clipboard
Copied
I am creating a form in French and insterted a date field with format "d mmmm yyyy". The result is "8 Juillet 2019" but in French grammar, months should not capitalized. The result should be "8 juillet 2019" (lowercase j). Is there a way to access and edit the list of months locally so that I can fix this problem?
Copy link to clipboard
Copied
No, but you can force the value to be in lower-case. Add the following as the custom calculation script:
event.value = event.value.toLowerCase();
Copy link to clipboard
Copied
Hello, thank you for your help. The script works when I am in the field to enter the data; I select from the calendar and I see "8 juillet 2019" (screenshot 1), however, when I tab to the next field, the data reverts back to "8 Juillet 2019" (screenshot 2). Is there a second part to the script that I should add so that the data does not revert back to uppercase when I leave the field?
Copy link to clipboard
Copied
I was afraid that would happen, because it's not an actual value, but a formatting value.
That means you will need to write your own code for doing this...
Find more inspiration, events, and resources on the new Adobe Community
Explore Now