Auto-populate text based on multiple dropdown selection
Hi guys, I don't know if that's possible or not because i am searching this for hours but in vain.
I have a text field "Price", and I need price to be populate based on 2 dropdown selections.
Dropdown 1: "Taste". Options: Sweet, Sour
Dependent Dropdown 2: "Fruits". Options for sweet are apple and banana. Option for sour are lemon and orange.
When sweet is selected, fruits give options as apple and banana and vice versa for sour.
So technically I have 2 different price list for sweet and sour. What i want is when:
1. sweet + apple is selected price will be $1.
2. sweet + banana selected, price $2.
3. sour + orange, $ 3
4. sour + lemon, $ 4.
Please help me, i am not a js expert. And i don't know if that's make sense.
The example is just to understand
