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.

  • Profile Image

    Add Fee if within date range

    Asked by poolmanagementgroup on June 12, 2017 at 10:28 AM

    Sorry, if this is a repeat question, but I couldn't find on the forum. I've used the Date Picker widget to not allow sign-ups within X number of days.  IS there a way to essentially do the same, however, if within X number of days, the form will add a $25 admin fee for short notice?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 12, 2017 at 12:23 PM

    You could achieve it by adding a second date picker field to your form, setting up the current date will help you to know the number of days. 

    Setting up current date as default. 

    Once the field has been added, you will need to add a Form Calculation widget to your form, this will help you to calculate the number of days between the current date and the selected date on the "Date You Would Like to Have the Party" field: 

    You will be able to add the fee based on the number of days, you will need to use conditions to achieve it and here is a guide that will help you doing it: https://www.jotform.com/help/268-Conditional-Logic-Inserts-Text-Calculation-Into-A-Field 

    Once you have calculated the fee you could simply include it in the current calculation you have in your form. 

    Let us know if you have any question.