Hey everyone,
I'd like to use a value given to a radio button to calculate a total cost based on a number entered in a following field. Right now I have 4 options for the radio button. The "values" I've given them are: 115, 145, 175, and 200.
There is a number field following the radio button field that I would like to use along with these to do some math. This math only needs to happen if the "200" button is selected - anything less will just need to produce the "value" from the radio button in the "total" field. At which point I need to add $1 per every number entered in the number field over 100 (102 would make the cost $202.00). This number will reach a maximum of $450.00.
I would like this calculation to populate the "total" field.
I've been using the CSS classes: "fee", "rooms", and "total".
Here's a screenshot of the editor that will hopefully make it easier to understand the context:.