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 disable past dates on my form which is called storehub training?

    Asked by lavin on September 19, 2016 at 03:30 AM
    how past dates how do i
  • Profile Image
    JotForm Support

    Answered by Chriistian on September 19, 2016 at 03:55 AM

    If I understand correctly, you want to disable certain dates found in the Quantity Gift Registry Widget of your form so that the other users will no longer be able to select it?

    To disable the past dates, you will have to update the Quantity Gift Registry Widget and set the value of the specific date to 0.

    After doing so, that date should now be disabled as seen in the image below.

    If you need further assistance, please let us know.
    Regards.

     

  • Profile Image

    Answered by lavin on September 19, 2016 at 04:46 AM
    Well i kinda figured that out but is there a way to automate it. I mean it
    would not be prudent for me to log in everyday just to change the number.
    ...
  • Profile Image
    JotForm Support

    Answered by Chriistian on September 19, 2016 at 05:16 AM

    Unfortunately it is not possible to automatically disable a specific date in the Quantity Gift Registry Widget. The only way it can be disabled would be if the slots for the date is full or if you manually disable it.

    However, I think there is a possible workaround that we can do with the help of Show/Hide conditions. Please allow me some time to setup a guide for you. I will be back shortly.

     

  • Profile Image
    JotForm Support

    Answered by Chriistian on September 19, 2016 at 05:31 AM

    Please follow the steps below for the workaround on disabling the Gift Registry Widget using Show/Hide conditions:

    1. Add each date as individual Quantity Gift Registry Widgets.

    2. Then add a Date field to your form and click the Gear icon to open the properties. 

    3. On the date properties, select the Options tab and from the default date options, click Current.

    4. Now we add the conditions. You will have to create a condition for each widget. Set it so that if the Date field is After the date specified on the selected widget, then Hide that widget field. Here's a guide that can help: How to Show or Hide Fields Base on User's Answer

    5. Do these for all the widgets and you're all set.

    Here's a demo form that you can clone in your account to test: https://form.jotform.com/62621801523952.

    Try changing the "Date Main" field to see the corresponding widgets get hidden after their specified date.

    If you need further assistance, please let us know.
    Regards.