Assigning value to dropdown field.
-
Hi, I’m trying to build a food nutrition data calculator, which would show the calories, proteins, fats, and carbs for specific foods.
And here is my question… Can I assign multiple values to a dropdown field element? For example, if I have: “MILK” in the dropdown list… So I could assign it multiple values for calories, proteins and etc…
So the idea is to have a dropdown field with a list of foods and then a number field to insert the amount of food in grams… I would like to assign multiple values to the drop-down list (for calories, fats, proteins, carbs) and add values for 1g of food there… and then create a calculation field that would multiply the dropdown list element with the number (the grams) element…
Hope you guys understand what I’m trying to do… Anyway is it possible this way? somehow?
And if not could ya’ll give me a few pointers on how to achieve this 🙂
Thanks!
The topic ‘Assigning value to dropdown field.’ is closed to new replies.