Can't assign radio button selection to variable. Why?
The form link to below performs a bit of basic calculation, adding up a total based on selections from drop-down menus.
That portion of the form works fine. But I also need to multiply the total based on a selected value from three radio buttons.
I thought I could find a simple script online to assign the selected radio value to a variable, then multiply the total from the drop down menus by that variable.
But for some reason, something in the code is preventing me from getting the radio button value and assigning it to a variable. I'm a total noob to JS and I just can't determine the problem.
Can a more experienced coder take a look?
Your help is really appreciated.