Est-il possible d'activer le formulaire à une date et une heure précise ?

  • REMYDELROT
    Demandé le 21 février 2025 à 13:07

    Bonjour,

    Y aurait-il moyen de pouvoir activer automatiquement le formulaire à une date et une heure précises comme c'est le cas pour une désactivation?


    Merci


  • Camila Jotform Support
    Répondu le 21 février 2025 à 16:14

    Hi REMYDELROT,

    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, It's possible using a condition. Let me show you how to do it:

    We need to add and set up the Time Field:

    1. In the Form Builder, click the Add Form Element button.
    2. Under the Basic elements, select and click the Time field to add. You can also drag and drop it to your form.
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 1 Screenshot 70
    3. Select the Time Field and click on Gear icon.
    4. In the Time Properties window, click on the Options tab.
    5. Set the Default Time to Current. You’ll automatically see your current time in it.
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 2 Screenshot 81
    6. Under the Advanced Tab, click on the Hide Field button and turn it on.
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 3 Screenshot 92

    Now, we will do Adding and Setting up the Text Field:

    1.  In Form Builder, click the Add Form Element button.
    2. Under Basic tab, select and click Paragraph field to add.
    3. Click on Edit Text (pencil icon) on the right side of the Paragraph element. You can also double-click the element to edit it.
    4. Add your custom message. You’re free to design this at your discretion. Here’s an example:
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 4 Screenshot 103

    Finally, we will Set up the Conditional Logic to Display the Message and Hide the Fields:

    1. In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.
    2. Click on Integrations on the left side of the screen.
    3. Select the Show / Hide Field option.
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 5 Screenshot 114
    4. Set up your condition as shown in the image below:
      Est il possible dactiver le formulaire à une date et une heure précise ? Image 6 Screenshot 125

    That's it. If Time is Before 10:00 AM or After 6:00 PM, Show the Custom Message and Hide the other fields, including the submit button. You can check out this Demo Form so you can try it by yourself.  We've got a guide about How to Clone an Existing Form From a URL that will help you do it.

    Give it a try and let us know how it goes.

Votre réponse