Create a form with submit dates limited

  • loganbagley
    Asked on November 7, 2016 at 3:24 PM

    I need to create a form that is only available to submit Thursday through Wednesday at 11:59am every week.

    For example, I need it to open on thursday at 12:01am and close on Wednesday at 11:59 am and then open back up again on thursday at 12:01am and then repeat..... and so on.

     

  • Support_Management Jotform Support
    Replied on November 7, 2016 at 8:54 PM

    Sorry but I'm confused on what you're trying to do. You said:

    I need it to open on thursday at 12:01am and close on Wednesday at 11:59 am and then open back up again on thursday at 12:01am and then repeat..... and so on.

    Thu 12:01am = midnight

    Wed 11:59am = lunch

    (note, these are both AM as you mentioned)

    This would mean that it's AVAILABLE from THU midnight to WED lunch next week - In the same sense that it's UNAVAILABLE WED lunch to THU midnight (which is like 12hr difference, thus making your form UNAVAILABLE for just 12hrs per week).

    Is that how you want it to be setup? If not, please be more accurate on how you would like your form to behave. Although we don't have an innate feature/option to achieve this, a workaround with Conditions might be viable. We just need to better understand what you're hoping to achieve so we can point you in the right direction.

  • loganbagley
    Replied on November 7, 2016 at 9:44 PM
    That is correct.
    Sent from my iPhone
    ...
  • loganbagley
    Replied on November 7, 2016 at 9:44 PM
    Yes that is correct,
    Just for your information as to why we need this here is the scenario.
    We host a dinner at our church every Wednesday night and people sign up online. We don't want anyone to sign up after Wednesday's at lunch. And then it needs to be open the next day so people can sign up for the next week.
    Thanks!!
    Sent from my iPhone
    ...
  • Elton Support Team Lead
    Replied on November 8, 2016 at 5:02 AM

    After a few minutes of utilizing the date and time field I think the following workaround might work for you.

    Demo: https://form.jotform.co/63115111881851 (When you select Wednesday 11:59 AM, the submit button hides so the form can't be submitted)

    (I have shown the date, time and calculation fields for demo purposes. You can hide these fields in the form builder if you want to).

    Here's how:

    1. Add the following fields into your form.

    DateTime Field (enable current date)

    Time Field (enable current time)

    Form Calculation Widget

    Create a form with submit dates limited Image 1 Screenshot 50

    2. In the form calculation widget, add the time field. This will fetch the calculated value of the selected time.

    Create a form with submit dates limited Image 2 Screenshot 61

    3. Next, create a Show/Hide Condition like the following

    If Date Field is Equal to Day "Wednesday"

    If Get Time (Calculation Field) is Greater than 11.98

    IF ALL of the IF rules matched

    Hide Submit Button

    Example:

    Create a form with submit dates limited Image 3 Screenshot 72

    Create a form with submit dates limited Image 4 Screenshot 83

    Feel free to clone the demo form so you can check its conditions or use it if you like.

    If you need further assistance or if you are stuck at some point when following the steps, let us know.