Help with if/then calculations

New Here ,
Jan 13, 2018 Jan 13, 2018

Copy link to clipboard

Copied

Hello out there!

Ok, so I know just enough to get myself in trouble sometimes and don't know how to write scripts 😕

I'm looking to set up a form for my business to make quick work of estimating and am trying to create what I believe to be a simple calculation as follows:

Form field 1 is a drop down named "Box Type" and may contain the following drop-down options: "Frameless; Faceframe; Inset"

Form field 2 is a text box called "Base Amount" with the Format set as "Currency", and I want that box to display a dollar amount based on the option displayed in form field 1.

Hope I've made sense here! (not meant to be condescending to anyone on this forum, I just dont know that I've stated my request properly)

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

87

Likes

translate

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
Adobe Community Professional ,
Jan 15, 2018 Jan 15, 2018

Copy link to clipboard

Copied

Here are to articles that will provide you with a solution.

https://acrobatusers.com/tutorials/change_another_field

https://acrobatusers.com/tutorials/conditional-execution

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

translate

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