What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How do I add a default date range to the Date/Time field?

    Asked by cariocaproductions on June 24, 2013 at 02:50 PM

    I'd like to only specify a date range in the date/time field to pop-up in the calendar.  (i.e. September 27, 2013 through October 2, 2013. Is this possible?

    time field date range
  • Profile Image
    JotForm Support

    Answered by jonathan on June 24, 2013 at 03:36 PM

    Hi,

    As is now, you cannot customize the date/time field within the form builder. You can do it by using the form's source code (you will have to manually alter the content of the field in the calendar.js file).

    Alternatively, you can also use the technique describe on this guide How-to-Add-a-Time-Only-Field
    Instead of time, put your required date range instead in the drop down lists.

    I usually use spreadsheets to easily create this date ranges, then, I just copy/paste the selections to the drop down list option in the form

     

     

    So, in your form you can apply the 2nd option I mentioned, and just complement it with Time field so there is Date and Time field in your form instead of the Date/Time field.

    Hope this help. Inform us if you need further assistance.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by jonathan on June 24, 2013 at 03:40 PM

    Something similar to this form http://www.jotform.co/form/31746086128861