I am trying to trap when a Combo Box selection has been changed. After a change, some Javascript is supposed to update another field on my PDF form. I've tried to assign my script to a "Mouse Up" action. I've also tried the Validate Script option. No joy. My script is basically this:
var e = this.getField("cboEmployer"
var d = this.getField("txtDivision"
if (e.value == "AAS" {
d.value = "4";
}
if (e.value == "ATI" {
d.value = "7";
}
if (e.value == "SCI" {
d.value = "3";
}
This is my first attempt to add "smarts" to a PDF form. Anything obvious that I'm missing??
-with thanks,
Mike
var e = this.getField("cboEmployer"
var d = this.getField("txtDivision"
if (e.value == "AAS" {
d.value = "4";
}
if (e.value == "ATI" {
d.value = "7";
}
if (e.value == "SCI" {
d.value = "3";
}
This is my first attempt to add "smarts" to a PDF form. Anything obvious that I'm missing??
-with thanks,
Mike