On my order form, the cost total displays a number which is the number rate of an option set service selected .
My challenge is this: On a second dropdown on the same form where a user is able to make multiple selections, I want the original total to double with each additional selection the user chooses after the first choice.
I imagine this is done as a conditional on the text that displays the total, but I have no idea how to go about achieving it?
One simple dirty way would be to put a custom state that is a number and label it something like âquantityââŚeach time a user selects something add one to the quantity.
Then use that custom state value to multiply by the cost of one item.
Thanks guys. I think I solved this. I gave each option set item in the dropdown a number attribute that equals to 1. Then in the text that displays the cost total I added this after the calculation: * multidropdownâs value:count
To elaborate on the solution, (for any novices like myself who find themselves facing the same challenge): It turns out my creating âattributes that equal to 1â was redundant and unnecessary because Bubble automatically counts each dropdown item as â1â.