How to calculate a sum from an input and radio buttons?

Hello everyone, I’m new to bubble and struggeling with a simple calculation. Maybe you can help me?

Let’s assume a service costs $1 per minute if option A is selected and if option B is selected, then the service costs $5 per minute. Now I would like to calculate the price depending on the input and the selected option in real time. What would be the best way to achieve this?

calculation

Your text element for Price will have as its Appearance: Input minutes * 1.
Then add a condition When radio button option = B, text Price’s Appearance: Input minutes * 5.

1 Like

Thank you for your support. :wink:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.