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.
Disable (or hide) some fields on a form after a specified date and time.Asked by bhds 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?
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:
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?
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.