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.
How to implement discount in the form using calculation widget?Asked by mrborry on November 24, 2014 at 11:15 AM
One final thing though and I'll leave you alone forever. I have been trying to implement a discount on the system.
This is as follows:
-1 FROM totaldaysrequired
-2 FROM totaldaysrequired
In my simple little mind this will give the user every seventh day for free as the calculation is 'please select product * totaldaysrequired
Any chance you could help me out with that?
I think your form needs some adjustment in terms of calculating values. For example, the Total Days should be a separate calculation and the Number of Days which is the less into another.
Can you please check this cloned version of your form: http://www.jotformpro.com/form/43274651724961. Let me know if this sounds good!
Total Days calculation widget = Calculate the number of days between the two dates
Discount = Value on this field is inserted using the conditional logic. That if the value is greater than 7, insert 1 and if the value is greater than 14, insert 2.
Total Fee = Total Days - Discount * Price (Please select product)
We can also add a conditional logic to still add a discount if the Total Days "is equal" to 7, same if equal to 14.
I have updated this thread with screenshots, please kindly review again :) Access this thread: https://www.jotform.com/answers/463936.