Comment modifier le format de date dans le nom du fichier de rapport PDF ?

  • LROBERT
    Demandé le 14 février 2025 à 05:24

    Bonjour,

    Je souhaite changer le format de date des PJ issues des saisies d'une visite prévention.

    A ce jour le format est JJ/MM/AAAA, et j'aimerais qu'il passe en AAAA/MM/JJ. Est-ce possible ?

    Comment modifier le format de date dans le nom du fichier de rapport PDF ? Image 1 Screenshot 40

    J'ai essayé en changeant le format de date sur le formulaire mais cela ne le change pas sur le PDF. Et sur le PDF je ne peux sélectionner le format souhaité, ni dans les paramètres PDF.

    Comment modifier le format de date dans le nom du fichier de rapport PDF ? Image 2 Screenshot 51

    Comment modifier le format de date dans le nom du fichier de rapport PDF ? Image 3 Screenshot 62

    Cordialement,

  • Gian Jotform Support
    Répondu le 14 février 2025 à 07:49

    Hi LROBERT,

    Thanks for reaching out to Jotform Support. Our French Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, it might take a while until they're available again.

    Now, coming back to your question, I understand that you want to change the date format in the PDF report file name. To achieve that, we'll need to update the date format of the Date Picker field in Form Builder. Let me show you how to do it:

    1. In the Form Builder, click the Gear icon next to the Date Picker field.
    2. In the menu, go to Options.
    3. Under the Date Format, select the YYY-MM-DD option.

    Comment modifier le format de date dans le nom du fichier de rapport PDF ? Image 1 Screenshot 30

    Here's the result:

    Comment modifier le format de date dans le nom du fichier de rapport PDF ? Image 2 Screenshot 41

    Give it a try and let us know if you need any help.

Votre réponse