0
Help with a simple calculation for T-shirt sizes * Quantity * Price
Community Beginner
,
/t5/acrobat-sdk-discussions/help-with-a-simple-calculation-for-t-shirt-sizes-quantity-price/td-p/9764030
Mar 29, 2018
Mar 29, 2018
Copy link to clipboard
Copied
Hello,
I have a form with some drop downs for T-Shirt sizes and Quantities.
I need help figuring out how to calculate the Total Payroll Deduction as seen below.
Basically need a calculation script for both Short Sleeve and Long Sleeve:
Short Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL)
Long Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL)
Any help is greatly appreciated.
TOPICS
Acrobat SDK and JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/help-with-a-simple-calculation-for-t-shirt-sizes-quantity-price/m-p/9764031#M23412
Mar 29, 2018
Mar 29, 2018
Copy link to clipboard
Copied
Enter the price for each category as the export value of that item in the Style drop-down and then you'll be able to simply multiply the two fields to get a total price.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
![](/skins/images/EAF9F7E131C5D03B206D7C6CFC7D852B/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/EAF9F7E131C5D03B206D7C6CFC7D852B/responsive_peak/images/icon_anonymous_message.png)