Help with a simple calculation for T-shirt sizes * Quantity * Price

Community Beginner ,
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

Views

59

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Mar 29, 2018 Mar 29, 2018

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines