How can I make a form question change based on a date?

  • johneff
    Asked on February 9, 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.

  • jonathan
    Replied on February 9, 2015 at 1:26 PM

    This can be achieve by adding the DateTime field in the form and set to ON the current date.

    How can I make a form question change based on a date? Image 1 Screenshot 40

    Then use conditional statements using Condition Logic to SHOW/HIDE elements on the form base on the current date.

    How can I make a form question change based on a date? Image 2 Screenshot 51

     

    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). 

    How can I make a form question change based on a date? Image 3 Screenshot 62

     

    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.

    Thanks.

     

     

     

  • johneff
    Replied on February 9, 2015 at 2:33 PM

    Thanks!

    I'll clone the form and try it.

  • jonathan
    Replied on February 9, 2015 at 2:34 PM

    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.

    Thanks.