Are you getting any errors in the Javascript console (Ctrl-J in
Acrobat). Can you validate that you are at least getting into the right
part of the code? Put a message box in the second part to validate that
your condition is at least being met.When building compound statements I
like to wrap each part in brackets to ensure that it is getting
evaluated correctly.if ((A == 1) && (B <= 2)) { ....Lets start there and
see what happens.Paul