Copy link to clipboard
Copied
I have a dropdown box with a possibility of 3 values, depending on the values, I want different data to be put into 21 other fields
Below is a copy of what I have done for one of the fields based on the value of 500 in the dropdown box, but it does not work
var one = this.getField("Dropdown9");
if(one.valueAsString != "500") {
event.value= "0";
}
else{
event.value = "234.567";
}
Copy link to clipboard
Copied
The code looks fine... Where did you put it, though? And are there any error messages in the JS Console?