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

    How to add a dynamic value based on the number of submissions?

    Asked by melodicsounds on March 08, 2016 at 12:36 PM

    You see uber sometimes when the demand is really high they have a dynamic fare? They charge you x1.5 times the total because the demand is high. We want to add this to our form... depending on the volume of submissions we are receiving somehow we want to add an option where we (from our end/admin) add a number and that multplies the total of the submission for that number... so if the total was $200 we want to enter and add this dynamic fare... 1.5 and that when people in that specific time frame fill the form they will be charged 1.5

     

    How can we achieve this?

    Submissions charge fill and
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 08, 2016 at 02:53 PM

    There are some widgets that you may add to your form to know the number of submissions that you have received, however, there is not a way to use the value provided by these widgets in calculations. 

    You would need to get the source code of your form and add a custom script to achieve it, this guide could help you to get the source code: http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

     

  • Profile Image

    Answered by melodicsounds on March 08, 2016 at 07:45 PM

    Or just whenever we please to increase the price for an X number how would this be possible? Forget about the demand... only when we want to enter and increase the price by just moving 1 field or really quick instead of changing ALL the values in the dropdown menus that affect price... like a hidden field maybe? that nowone see and always have value = 1 and when we want to raise price we change that number.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 08, 2016 at 09:39 PM

    Yes, that is possible, you may add the value into the hidden field manually, then once the field is added it will be counted in the total amount, but do not that you will need to use calculations to achieve it, this guide will help you with calculations: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    And this guide will help you to pass the value to the payment field: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field.

    You should have questions in the process, please do let us know and we will be glad to help you.