Skip to main content
Participant
September 5, 2023
Question

PDF dynamic - Multiple total Amout depend on select type

  • September 5, 2023
  • 1 reply
  • 603 views

Hello everyone, Here is a table representing the situation:

 

 

I would like to know how to associate an amount with a select option in order to calculate a different total amount for each select option. I'm not sure if this is achievable, and I don't know much about JavaScript. Thank you in advance for your help!

François

This topic has been closed for replies.

1 reply

Nesa Nurani
Community Expert
Community Expert
September 5, 2023

What type of fields do you use?

If you use the dropdown field for 'OptionType' you can add amount as export value to each type.

Participant
September 5, 2023

Hello Nesa,

Thanks for your answer.

The amount must be variable and not fixed. So i use a dropdown field for the selectType and a textfield for the amount.

Nesa Nurani
Community Expert
Community Expert
September 5, 2023

So how do you decide what is the amount for each option?