Need help with complex calculation on PDF form for clothes with different sizes and prices
- April 17, 2023
- 2 replies
- 1491 views
Hello,
I need to get some help on a complex equation for an apparel order form.
When you order a product that is a larger size (2X, 3X or 4X) the price changes to add an additional $3.
I dont know how to communicate that in the form to work properly.
Here is the equation we were using before we had to add a different price for the lager size.
event.value = Number(this.getField("OE336-Total Quantity").valueAsString) * 28
Here is an equation that we tried to use but doesnt seem to work.
var Size-OE336 = this.getField("Size-OE336").valueAsString;
if (Size-OE336=="2X") or (Size-OE336=="3X") or (Size-OE336=="4X") event.value = Number(this.getField("OE336-Total Quantity").valueAsString) * 31;
else event.value = Number(this.getField("OE336-Total Quantity").valueAsString) * 28
I have attached a screen shot of the form as well as a pdf.
