Skip to main content
Participant
July 8, 2019
質問

Spelling of months in French in dates

  • July 8, 2019
  • 返信数 1.
  • 473 ビュー

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?

このトピックへの返信は締め切られました。

返信数 1

try67
Community Expert
Community Expert
July 8, 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();

Babar88作成者
Participant
July 9, 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?

try67
Community Expert
Community Expert
July 9, 2019

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