- melodicsoundsAsked 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?
- JotForm SupportKevin_GAnswered 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.
- melodicsoundsAnswered 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.
- JotForm SupportKevin_GAnswered 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.