I have a location box, and the states can only be NY, TN or FL.
I want the code to recognize when the state NY is entered into the location box, a percentage gets added to that state.
Instead of making 3 buttons with 3 codes attached, I would simply like an input field & some code.
I thought to use:
onInput.NY.(Number(subtotal))*(0.045);
Can anyone help me with this??
Thanks!!