Dear forum,
I'd like to create a JS script that enables a registrant to select a value through a drop-down ('fees') and then tick an optional number of checkboxes ('days'). The value of the dropdown should multiply by the number of checked boxes ('days') and show in the sum total textbox ('total'), in the given example €12 * x number of days = 12/24/36...
Is this in any way possible with a few lines of JS or will it turn complicated because there is essentially no way to tell how many boxes are ticked just by working with mere values?
Any help would be much appreciated.
Thanks!
Chris
I'd like to create a JS script that enables a registrant to select a value through a drop-down ('fees') and then tick an optional number of checkboxes ('days'). The value of the dropdown should multiply by the number of checked boxes ('days') and show in the sum total textbox ('total'), in the given example €12 * x number of days = 12/24/36...
Is this in any way possible with a few lines of JS or will it turn complicated because there is essentially no way to tell how many boxes are ticked just by working with mere values?
Any help would be much appreciated.
Thanks!
Chris