How do I use the dropdown menu ‘value’ in an equation?
-
Hello.
I’m creating a discount code calculator for a client’s website. The company offers coupons for restaurants, and we have an example menu with some prices so you can choose a meal and simulate how much you would pay if you use the company’s coupons.So, I need a way to create a dropdown menu with each meal having its own price. Example: Ribs: $10, Sushi $7, so on and so forth. What I am having trouble with is using the ‘value’ field by the meal’s name and use this value in an equation.
What exactly is the syntax for using the ‘value’ field in an equation?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How do I use the dropdown menu ‘value’ in an equation?’ is closed to new replies.