How to Reset or Clear Dropdowns?

I have an auto-binded checkbox for a service. When it is checked an auto-binded dropdown appears with the options and attributes for duration and price. However if someone decides to uncheck the service, the chosen dropdown option is still saved. I need it cleared when the checkbox is unchecked. How do I reset the dropdown to empty if the checkbox is unchecked? Can you not reset or clear a auto-binded field when another field is unchecked?

This is important as I wish to make a price total from the options afterwards.

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