How to compare value fo text field with string on click of button.


hi all,

i want compare value of text field string on click of button , print alert message in pop up.also if possible want forcefully close pdf on click of "ok" button of pop up.

using javascript client side.

please me out.
vishal doshi.

the script like:

if ("foo" != textfield.rawvalue) {
xfa.host.messagebox("you must enter foo!");
event.target.closedoc();
}

chris
adobe enterprise developer support


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments