Create a form with submit dates limited

  • Profile Image
    loganbagley
    Asked on November 07, 2016 at 03: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.

     

  • Profile Image
    Jim_R
    Answered on November 07, 2016 at 08: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.

  • Profile Image
    loganbagley
    Answered on November 07, 2016 at 09:44 PM
    That is correct.
    Sent from my iPhone
    ...
  • Profile Image
    loganbagley
    Answered on November 07, 2016 at 09: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
    ...
  • Profile Image
    EltonCris
    Answered on November 08, 2016 at 05: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

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

    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:

    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.