script check
I have been using this script below to select Yes or No to populate text fields. It also works in other ways as well. Well, now I would like to include a tax field using the same script but what it's doing is, it's adding the "1", "2" or "3" inside of the tax rate field. See the script to better understand.
Script:
if (event.value.toUpperCase()=="1") event.value = ".08";
if (event.value.toUpperCase()=="2") event.value = ".095";
if (event.value.toUpperCase()=="3") event.value = ".10";
What can I do or modify to have the value be entered into the tax rate field as the tax not the "1", "2" or "3"? It's probably very simple but it's beyond me. Can someone please help me out? Thanks.
