How Can I Let the Users Select Multiple Date?

  • swalker286
    Asked on November 4, 2015 at 6:16 PM

    I would like to create a calendar where the user can select multiple dates in the entire year calendar, then have the form calculate how many total days are selected.

     

    I started messing around with the plain check box option, but in order to get the days to line up it's just messy.

     

    Any help is appreciate.

  • mert JotForm UI Developer
    Replied on November 5, 2015 at 1:31 AM

    Hi there,

    To make your users can select more than one date, you can use  "Date Reservation" widget. By following the instructions below, you can easily add this widget to your form.

    How Can I Let the Users Select Multiple Date? Image 1 Screenshot 40

     

    On the settings screen for that widget, you can increase the selectable date number.

    How Can I Let the Users Select Multiple Date? Image 2 Screenshot 51

     

    This will shows the dates selected; but it won't count the total days between the selected dates.

    How Can I Let the Users Select Multiple Date? Image 3 Screenshot 62

     

    I hope this solution will work for you. If you need extra information, please let us know.

    Thanks.

  • swalker286
    Replied on November 5, 2015 at 1:45 AM
    Now I need it to count the total selected dates.
    Sara Walker
    NHRA Division Office Services Administrator | NHRA West Central Division
    p. 816.795.8055

    ...
  • mert JotForm UI Developer
    Replied on November 5, 2015 at 3:27 AM

    Hi Sara,

    You can calculate days between dates; but you can do it with "Date Reservation" widget.

     

    To do this,

    You need more than one "DateTime" fields and "Form Calculation" widget.

    First of all, you need disable "Allow Time" option for "DateTime" fields. This will make the fields collect only the Date not the Time. With that, we can subtract the Date fields from each other.

    How Can I Let the Users Select Multiple Date? Image 1 Screenshot 30

     

    The calculation on the "Form Calculation" widget is going to be like the following:

    How Can I Let the Users Select Multiple Date? Image 2 Screenshot 41

     

    I hope this one helps you. For further assistance, you can always reach us.

    Have a nice day.

  • swalker286
    Replied on November 5, 2015 at 7:45 AM
    No, this is not a solution.
    I need a full year calendar showing. They select/check the dates. It counts days selected.
    Sara Walker
    NHRA Division Office Services Administrator | NHRA West Central Division
    p. 816.795.8055

    ...
  • mert JotForm UI Developer
    Replied on November 5, 2015 at 8:59 AM

    Hi again,

    Actually, you can view the full year on "DateTime" field in second solution.

    How Can I Let the Users Select Multiple Date? Image 1 Screenshot 20 

     

    However, if you want to choose multiple date on the same calendar, you need to use the "Date Reservation" widget; but it will not calculate the days between dates. Unfortunately, you can't calculate the days with the widget.

  • swalker286
    Replied on November 5, 2015 at 9:45 AM
    Ok then once again, Jot is failing where I need it to excel.
    Sara Walker
    NHRA Division Office Services Administrator | NHRA West Central Division
    p. 816.795.8055

    ...
  • Jeanette JotForm Support
    Replied on November 5, 2015 at 12:01 PM

    There is no such a widget where you can see the entire year at a glance, you can see different years with the Date picker widget

    But you cannot select dates as in the Reservation widget.

    How Can I Let the Users Select Multiple Date? Image 1 Screenshot 20

     

    We might add this as a feature request, but there is no ETA for when this can be implemented.

  • swalker286
    Replied on October 6, 2016 at 11:41 AM

    Is there still no option to select multiple dates over the entire year, and calculate number of days selected?

     

    Maybe a calculate number field, to count?

  • Welvin Support Team Lead
    Replied on October 6, 2016 at 2:05 PM

    This is an old thread so I have moved your reply to a new one. Here's the link: https://www.jotform.com/answers/953439. I will answer your question there.