Calculate a price

hello I am blocked someone can help me, I would like to make a price calculation.I have a fixed service that I would like to calculate according to what the user chosen as a number.for example 50 the price $ and with an input the customer indicates 3 how to proceed thank you

  • Create an input field for the user (E.g dropdown)
  • Create a button element (For the calculation)
  • Create a custom state called finalPrice

Create the below workflow for when the button gets clicked

  • Set finalPrice custom state = input element’s value * 50

You can then display this final price on any element for the user to see

thank you very much it helped me

1 Like