Question
PDF Forms - Calculating the discount / JavaScript
- August 12, 2020
- 7 replies
- 3552 views
Hello my friends,
I've a problem which I am hoping will be solved with your help:)
I made a pdf form with calculating net and gross price where customer can type how many of products wants to buy and it works all fine (attachment).
The problem is when I want to make a discount (for example 10%) of total price if customer order 2 or more products and I'm stuck. Do you have any ideas how I can make it happen? I can write JavaScript code but I dont know how to implement it into pdf.
Is it possible to use the total net price as a variable?
Any ideas will be very valuable, cheers!
