-
novinaherzogenaurachGefragt am 20. Februar 2024 um 10:22
Es sollen nur Antworten zwischen 12.00 Uhr und 23.59 Uhr angenommen werden.
-
Neil Enterprise SupportGeantwortet am 20. Februar 2024 um 12:52
Hi novinaherzogenaurach,
Thanks for reaching out to Jotform Support. Unfortunately, our German Support agents are busy helping other Jotform users at the moment. 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 German, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, let me help you with your question. Yes, it's possible to set a time period on a form. We can use conditional logic to hide all the form fields and the submit button if a form submitter tries to submit an entry outside your chosen hours. Let me walk you through it:
We will be using a Time Field to get the user's current time when they open your form, and a Paragraph field to display a message telling your users that the form is unavailable.
- In Form Builder, click the Add Form Element and add the Time Field.
- Then, click on the gear icon to open its properties.
- Go to Options tab, and set the Default Time to Current.
- After that, go to the Advanced tab, toggle the Read Only and Hide Field to on. This will make the Time field uneditable and hidden to your form.
Let's now add a Paragraph field to display the message:
- Click on the Add Form Element again, and add the Paragraph field.
- Click on the pencil icon to edit the text.
- Add your custom message. Here's an example:
- Once you're done, click the check icon to save your changes.
After that, we will now create the condition. Here's how to do it:
- In Form Builder, go to Settings at the top.
- Select Conditions on the left panel.
- Choose Show/Hide Field option.
- Then, set up the condition like my example below:
That's it. Here's the result:
You can check out my demo form here. Feel free to clone it to further test it.
Give it a try and let us know if you need more help.
- In Form Builder, click the Add Form Element and add the Time Field.