Answered
Interactiv PDF (Formular field) problem
I have a problem with an interactive PDF.
Only the corresponding number (no other) may appear in the fields (3x3). Fields 1-8 work. But not the 9. Anyone know why?
I have a problem with an interactive PDF.
Only the corresponding number (no other) may appear in the fields (3x3). Fields 1-8 work. But not the 9. Anyone know why?
Hi,
With this script, you can type several 9 in the box!
You can only allow one 9 number in the box with this custom keystroke script:
if(!event.willCommit) {
event.rc=/^9$/.test(event.value+event.change)==true || event.change=="";
}or this one if you wish a message:
if(!event.willCommit) {
if (!(/^9$/.test(event.value+event.change)==true || event.change=="")) {
event.rc=false;
app.alert("You only must type a 9 in this box.",3);
}
}@+
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.