Question
Javascript return Value based on selection in Combobox
Hi all,
based on the selection that the user has to make in a combo box I want a value to be written into another field, I tried the following code but it does not work:
----
var Land = this.getField("combo1").value;
if (Land == "Afghanistan") {
event.value = 20;
}
if (Land == "Ägypten"){
event.value = 28;
}
if (Land == "Äthiopien"){
event.value = 26;
}
----
Any hints why?
Kind regards
Matthias
