Avatar

Correct answer by
Level 10

The form has to be saved as a dynamic PDF form to enable dynamic behaviour including caption changes.

Additionally, I find it much easier to explicitly name pages. It is less problematic. So rather than accessing "form1.#subform[0].DropDownList1" you are accessing "form1.page1.DropDownList1".

// form1.page1.DropDownList1::exit - (JavaScript, client)

var char_ = this.rawValue;

xfa.resolveNode("form1.page1.CheckBox1.caption.value.#text").value = char_;

Steve

View solution in original post