Question
How to auto populate text fields based on dropdown selection?
I'm trying to get the following text boxes to auto populate based on the dropdown value.
I'm getting a SyntaError: syntax error 3: at line4 message
My code is
var dropdownValue = this.getField("Dropdown1").value;
case "Collection":
this.getfield ("Text1").value = "method"
this.getField ("Text2").value = "GPS”
break;
case "Donation":
this.getfield ("Text1").value = "Name"
this.getField ("text2").value = "address”
Thanks
