I have several dropdowns. Each dropdown option is worth a specific value. I need those values to be added up on the page while they are selecting them.
Random example, each item being it's own dropdown menu and each number being an option:
Baskets: 1
Gloves: 3
Jars: 2
Shears: 5
=11 items (this is the part I need)
$w("#dropdown1, #dropdown2, #dropdown3, #dropdown4").onChange( (event) => { let sumValue = $w("#dropdown1").value + $w("#dropdown2").value + $w("#dropdown3").value + $w("#dropdown4").value; $w("#textbox1").text = sumValue.toString(); })