Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Spelling of months in French in dates

New Here ,
Jul 08, 2019 Jul 08, 2019

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?

TOPICS
PDF forms
446
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2019 Jul 08, 2019

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();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 09, 2019 Jul 09, 2019

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?

Capture d

Capture d

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 09, 2019 Jul 09, 2019
LATEST

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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines