Date Picker Field: How to block the other dates

  • Ruth_Currie
    Asked on September 12, 2024 at 2:43 PM

    https://www.jotform.com/build/232765704525156

    First field: I have not enabled the calendar blocker on a current date, but when testing, I am able to click to see the calendar and choose a different date. I only want to see the date the user filled out the form.

    Products: I have enabled Stock Control on items but when testing we can order 500 of an item and do not get an error pop up.

    Questions regarding our Thanksgiving Form Image 1 Screenshot 20 Screenshot 10 Screenshot 10

    Also, this is a free account. We have one other member of our team using jotform on a bronze account and we like it but do not have the volume to have a team account. And this form would only be used October and November.
    Can responses be sent to a different email address than the author?
    Can we copy a form to add it to our bronze account?

    Thanks so much!!

  • Lorevie JotForm Support
    Replied on September 12, 2024 at 2:57 PM

    Hi Ruth,

    Thanks for reaching out to Jotform Support. I'll need some time to look into this. I'll get back to you as soon as I can.

    We appreciate your patience and understanding.

  • Lorevie JotForm Support
    Replied on September 12, 2024 at 3:43 PM

    Hi Ruth,

    Since you already set the default date of your Date Picker to the current date, let me show you how to disable choosing other dates.

    1. In Form Builder, click on the Gear icon of the Date Picket field.
    2. From the Limits tab, uncheck Past and Future. Date Picker Field: How to block the other dates Image 1 Screenshot 90

    Here's the result:

    Date Picker Field: How to block the other dates Image 2 Screenshot 101As you can see from my screenshot above, all the other dates are greyed out and can't be selected. Another workaround that I can suggest is by getting the value from the Date Picker field and passing it into a short text field by setting up the Update/Calculate Field condition. This way, users won't be able to click on the Date Picker field. Let me walk you through this:

    1. In Form Builder, click on the Add Form Element on the upper left side of the page.
    2. From the Basic tab, select Short Text. Date Picker Field: How to block the other dates Image 3 Screenshot 112
    3. Click on the Gear icon of the added field.
    4. From the General tab, enter the Field Label.
    5. From the Advanced tab, toggle Read Only to turn it On. This way, users won't be able to edit the field. Date Picker Field: How to block the other dates Image 4 Screenshot 123
    6. Let's hide your Date Picker field:a. Click on the Gear icon of your Date Picker field.b. From the Advanced tab, toggle Hide field. Date Picker Field: How to block the other dates Image 5 Screenshot 134

    Now, let's set up the Update/Calculate Field Condition:

    1. In Form Builder, click on Settings on the orange navigation bar at the top of the page.
    2. Select Conditions from the left side window.
    3. Select Update Calculate Field.Date Picker Field: How to block the other dates Image 6 Screenshot 145
    4. Set up the condition like the one below. The IF statement will be the Date Picker field, and the TO field is the short text field that's been added.
    5. Click on the Save button at the bottom of the page.Date Picker Field: How to block the other dates Image 7 Screenshot 156

    Here's the result:

    Date Picker Field: How to block the other dates Image 8 Screenshot 167As for your other questions, I've moved them to a new thread and will be helping you out here:

    Let us know if you have any other questions.

  • Lorevie JotForm Support
    Replied on September 12, 2024 at 4:20 PM

    Hi Ruth,

    Additionally, you can clone my form here.

    Reach out again if there’s anything else we can do for you.

  • Ruth_Currie
    Replied on September 13, 2024 at 9:28 AM

    Thank you so, so much! Your customer support skills are EXCELLENT!

  • Ruth_Currie
    Replied on September 13, 2024 at 11:23 AM

    One more question, since we are not able to completely do away with our paper (some are quite attached!) can our admin staff use the submissions tab to add an order (I tried but did not see a way to make selections) or is it better for admin to just fill out the jotform based on the paper form submitted, and by adding their email, the purchaser will get the confirmation emails.
  • Eliza JotForm Support
    Replied on September 13, 2024 at 12:01 PM

    Hi Ruth,

    To avoid any confusions, I answered your other question on a new thread. You can go ahead and check that out here.

    Let us know if you have any other questions.

Your Answer