Hi Guys, new here! Loving the platform so far.
Currently i’m stuck with the following.
I have some checkoxes and dropdowns the user can choose, and these choices get saved in a database. So far, so good.
One of the fields is a yes/no. What I’m trying to do is when the value of one field is “yes”, another field in the database reads 1, and if “no”, it reads 0.
Example:

if Pepperoni = Yes, then pepperoni_price = 1, else, pepperoni_price = 0.
The pepperoni_price value is then taken from another table (“extras” table):

So the logic would look something like: whenever Pepperoni = Yes, then pepperoni_price = Do a search for extras extra_price where extra_type = Pepperoni.
Otherwise pepperoni_price = 0 (or blank)
Thanks all in advance! ![]()