Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Variable Pricing with Drop Down Menus

New Here ,
Mar 15, 2024 Mar 15, 2024

I have started using drop down menus in my fillable forms over check boxes but not sure how to get proper calculations with the scripts i have.  Every customer has different pricing and I dont want to have to redo the JS in every contract, or put different values in all of the different drop downs.

Here is what I need: 

 

Textbox1 - This is the cost of 1 bush trimming (This # changes with every customer) 

Drop Down Menu will have options for:

Spring 

Fall 

Both  (this total obviously needs to be double) 

From here I would like the total from whatever is chosen to calculate in "Textbox2" but ONLY if "checkbox1" is checked. If not then value is $0.00

("checkbox1" is the selection for bush trimming)

 

Seems it should be simple but not finding the answer. Any Help would be appreciated!! 

TOPICS
Acrobat SDK and JavaScript
199
Translate
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
Community Expert ,
Mar 16, 2024 Mar 16, 2024
LATEST

What is the role of the drop-down in the calculation, then?

Translate
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