Disable (or hide) some fields on a form after a specified date and time.

  • Profile Image
    Asked on October 22, 2014 at 11:28 AM

    We've set up a form to enable parents of students in our school to order flowers for particular weekends:


    There are 7 weekends for which they can place orders, and the deadline is 7 days before the delivery date.  The form is set up with seven rows of fields, one row for each week for which flowers can be ordered.

    I know that it is possible to set an expiry date for an entire form so that submissions can't be made after that date has passed, but in order to make sure that parents do not place orders after the deadline for each week has passed we want to be able to lock the fields in question automatically instead of editing the form as each week's deadline passes and hide the relevant fields.

    Is there any way of setting expiry dates and times on an individual field, so that after that date and time has passed a user won't be able to enter anything in that field?  Alternatively, can a field be set to be hidden after the expiry date and time has passed?

    Thank you.

  • Profile Image
    Answered on October 22, 2014 at 01:12 PM

    I believe I understand that you basically want to make a conditional expiration date to hide fields.

    Yes, it's possible. To do this you first need to add a Date Field then set up a conditional rule so that the field becomes hidden after the specified dates.

    Here's an Example:


  • Profile Image
    Answered on October 22, 2014 at 02:20 PM

    Thank you for your reply.

    Can I add a time to the value, for example:

    IF Today's Date After "10-31-2014 16:30"

    if I want the fields to stop being available from a particular time on a given date?

  • Profile Image
    Answered on October 22, 2014 at 04:02 PM

    As far as I know it should work similar to how you imply the submission limit when you are limiting your form at a certain date and time "(e.g. 2012-10-30 13:00)".

    I did a few tests of this but it turns out that it wasn't working. I will try to check this further and get back to you if i'm able to find a way to get the time to work though for this it might be unsupported. You are more than welcome to fiddle around with it if you like in the meantime.

    I know for a fact though that the Date Part does work which you can see in my test form here:


    If you change the date in my test jotform past 10/22/2014 then field C will disappear.



  • Profile Image
    Answered on June 03, 2017 at 11:31 AM

    Hello would we use the date picker for this? And then would the user have to choose todays date?

  • Profile Image
    Answered on June 03, 2017 at 01:42 PM

    @sp4i6 - I'm seeing another thread you posted here https://www.jotform.com/answers/1162518 that was already addressed by my colleague.

    If your question here is related to that thread, I strongly urge you to continue the conversation there to avoid confusion.

    If it's a different question altogether, please create your own thread so we can assist you.