Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
So how do you decide what is the amount for each option?
Copy link to clipboard
Copied
As the amount is variable, it cannot be found in the option. From my perspective (which may not be accurate), the different options determine the distribution of the various total amounts.
Here is an exemple :
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more