Skip to main content
Participant
Feb 10, 2025 6:11 PM UTC
Question

Adding price to different unit of measure for expected price

So I created this form to help each department see how much each item is before approving the items. Each item can be chosen as each, box, or case depending on how much the staff needs. I wanted the price to populate when each, box, or case is chosen. So if one AAA battery is chosen (each) the expected price would be 1.29, if one box is chosen the expected price would 5.29, if one case is chosen it would be 10.29. Is there a way to do this? I didnt know if i should do a drop down or have the staff type in the response. Please see attachment. 

2 replies

Thom Parker
Community Expert
Community Expert
Feb 10, 2025 6:35 PM UTC
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
PDF Automation Station
Community Expert
Community Expert
Feb 10, 2025 6:22 PM UTC

I can't see your form but you should probably use a dropdown with the descriptions as the dipslay values and the prices as the export values.

Example:  Display value: AAA battery, Export value: 1.29

Translate