I have a drop down list with possible values of "A" "B" and "C".
I have a checkbox named chkWhatever
I have a javascript change event that reads as follows:
form1.#subform[0].MyDropdown::change - (JavaScript, client)
if(xfa.event.newText == "A")
{
chkWhatever.caption.value.text.value = "A";
}
Eventually I want it to use some else statements but at the moment I'll be extremely happy if it works even for that one case.
I have also tried
form1.resolveNode("chkWhatever.caption.value.#text").value = "A";
But that didn't work either.
I get no error messages, it simply doesn't do anything.
try