JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How can I make a form question change based on a date?Asked by johneff on February 09, 2015 at 12:15 PM
I have selections for specific dates for training classes with a date where the registration is closed and no more registrations are accepted.
My question is when the date is reached for the registration deadline I want the selection option for registration to not be selectable and optionally a message which states that the registration is closed.
This can be achieve by adding the DateTime field in the form and set to ON the current date.
Then use conditional statements using Condition Logic to SHOW/HIDE elements on the form base on the current date.
Here is my demo jotform http://www.jotformpro.com/form/50395632582964 you can test.
The current date field is visible to the user only for this demo (you can hide the field in actual).
To simulate a test, change the current date to 2/11/2015 (the expiry date set on the Condition Logic) -- you will see that it will hide and disable all the other options below it.
If you set the current date to early dates before 2/11/2015, the options should still be all available.
Hope this help. Let us know if you need further assistance.
I'll clone the form and try it.
Here is the user guide on -How-to-Clone-an-Existing-Form-from-a-URL just in case.
You're quite welcome. Contact us anytime should you need further assistance.