Disabling one price and enabling another on a specific date

  • joryserota
    Asked on April 12, 2017 at 12:36 PM

    I am using jotforms to set up registration for classes I am offering. There is an early registration fee that is $400 while the registration fee after a specific date increased to $500.  Is there a way to set up my form so that it displays only the correct charge based on the date.  So for example, Early Registration ends May 1st, so through May 1st I want the fee to be $500 On midnight of May1, the form should change the charge to $500.  I would also be nice if the description of the fee could change when the cost does.

     

    Appreciate any help!

    Sue

  • Ashwin JotForm Support
    Replied on April 12, 2017 at 3:00 PM

    Hello Sue,

    Unfortunately it is currently not possible to conditionally show/hide products of payment tool. I would suggest you to use regular form fields to display your products. Here are the steps you should follow:

    #1. You can add your products using a radio button question and then assign calculation values for each of the radio buttons. The following guide should help you:  https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    You should actually add two radio button question. One for early registration price and other one for regular registration price.

    #2. Add a hidden date field in your form and set it to display the current date. 

    #3. Add condition in your form to check the current date and if it is before May 2, 2017, show the early registration radio button option else show the second radio button question. The following guide should help you:  https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    #4. You can than add "Form Calculation" widget in your form to calculate the price and then pass it to your Payment tool. The following guide should help you:  http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Please take a look at the following cloned form and see if this works as expected:  https://www.jotformpro.com/form/71015833491958

    I have made the date field as visible so that you can test this form by changing the date. You can then disable this form. Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!