3 dropdown menus to auto populate 1 textbox depending on selection
I am trying to get a 3 dropdown menus to autopopulate a text box dependant on the choice selected in the dropdown.
This is formula that I have so far, when I do it for one of the dropdown menu's it works fine, but I'm having issues when trying to add another dropdown menu.
Can you please advise.
The formula is below
var Item = this.getField("Sponsorship Level").value;
switch(Item){
case "Production Sponsor (Musical)":
event.value = "7500";
break;
case "Production Sponsor (Play)":
event.value = "6000";
break;
case "Benefactor":
event.value = "3600";
break;
case "Benefactor B&W Ad":
event.value = "3500";
break;
case "Backer":
event.value = "2500";
break;
case "Backer B&W Ad":
event.value = "2375";
break;
}
}
