How can I set up the form so it wont allow submission unless the start date is 6 hours in advanced?

  • Profile Image
    Asked on September 16, 2015 at 12:31 PM

    The problem we are running into is that people are submitting requests and we need more than 6 hours notice. Is there a way we can put a restriction or condition on the Start Time where it wont allow someone to select the time that is less than 6 hours from that moment? Thank you!

  • Profile Image
    Answered on September 16, 2015 at 03:03 PM

    I think there's a workaround for this. Let me check and get back to you with updates.


  • Profile Image
    Answered on September 17, 2015 at 05:06 AM

    I am truly sorry for the delay. Unfortunately, I have tried any possible solution I could but none seems working base on your requirement. I will try to check with my colleagues if they have any workaround. I could not promise you anything but we will surely update you if we found any. If you also know JS programming, you should be able to achieve this using your form source code


  • Profile Image
    Answered on September 17, 2015 at 05:58 AM

    Finally, I found a workaround using conditions but it requires 24 hour time format. Please clone this form so you can figure out the setup.

    Here's how to clone a form:

    If you'd like to try this workaround, here's a step by step instructions on how I set this up.

    1. First, I added one time field with current time enabled.

    2. I added 3 form calculation widgets, each with formula that retrieves the values from its associated time field. Here's screenshot on which fields they are connected to. So when you open the calculation wizard on each of the widgets, you will see the formula. I have also hide these fields (right click > hide field) so they will not appear on the live form.

    3. I then added a show/hide condition that hides the submit button and show an error message when the start time selected by the user is not 6 hrs in advance. You'll find it when you check the existing condition on the cloned form.

    I understand that this is a little complex but once you understand the condition, it would be pretty easy to implement them. 

    If you need clarifications with any of the steps above, please let us know. We'd be happy to help. Thanks!

  • Profile Image
    Answered on September 17, 2015 at 08:03 AM

    this is to formally ask a feature request for this capability:

    to disable time selections based on specified limits (e.g., current time + 6 hours).

    i'm not aware if the date field has this feature. if not, request to have this also.

    this would beneficial for a number of applications.

    much appreciated!

  • Profile Image
    Answered on September 17, 2015 at 08:22 AM

    hi EltonCris

    i'm just wondering how the conditions will handle a selected time that's greater than the current time when it goes beyond 23:59

    say it's now 8:30 pm, so the allowed time is 2:30 am onwards. will the condition suffice without factoring in the date (crossover from 11:59 pm to 12:00 am [midnight])?

    in your form, what time should i enter to see the submit button and have the reminder message hidden?

    appreciate the help.

  • Profile Image
    Answered on September 17, 2015 at 02:21 PM


    If this is what you mean,

    I have cloned Elton's form and added this condition,

    I hope this helps. If you have any further question, please feel free to ask. Thank you.

  • Profile Image
    Answered on September 17, 2015 at 02:45 PM


    By the way, I have moved your request to a new thread. Please click this link to go to that thread. 

    Thank you.

  • Profile Image
    Answered on September 17, 2015 at 06:21 PM

     thanks Mike_G

    let's assume TritonBlackout operates  24/7 and that i'm 1 of their subscribers. i just came from work and it's now 7:00 pm (19:00 hours). i go to their site and the form detected my current time is 7:00 pm (19:00 hours). then i selected 8:00 pm (20:00 hours) in the Blackout Start Time - just 1 hour in advance (let's say i didn't see the hover tip that i should schedule at least 6 hours in advance). 

    based on the new condition you included in Elton's form, how will my time choice of 8:00 pm (just 1 hour) be handled by the conditional logic? will it capture my error or will it let me submit the request? 

    may i also request a link of your modified form so i could try it out? 


  • Profile Image
    Answered on September 18, 2015 at 05:08 AM

    I have cloned EltonCris form and added condition from Mike and it seems that and submit button is visible if default date is set to 19:00 hours and start date to 20:00 hours. 

    I have made new demo form with two DateTime fields and I turned ON Time option. Then I set calculation to calculate difference between dates. 

    I have also set condition to hide submit button if calculation is less that 0.25.

    Here is my demo form: 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.

  • Profile Image
    Answered on September 18, 2015 at 06:22 AM

    efficient. and nice touch on getting the 6 hour time difference (.25) by including the date field (with time) in the calculation, BJoanna !

    error proofing can now be implemented. 

    thanks !

  • Profile Image
    Answered on September 18, 2015 at 07:40 AM


    Brilliantly simple solution to what I thought would have required lots of conditions!

    Cheers :)