New Forum | Previous | Next | (P-PDF) Developers
Conf: (P-PDF) Developers, Msg: 57588
Date: 5/29/2002 05:26 PM
one approach might be comparing the length of the event.value with
the field.value. This might work because the backspace key does
delete one character, therefore, the event.value would be shorter
than the field.value.
However, I haven't tried it out; it might not work at all.
On the other hand, it might be intersting to hear the results of your
Hope, this can help.
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
[ Building Bridges for Information ]
>Can anyone tell me how to test in a keystroke event of an Acroform
>field whether the key pressed was the "backspace" key? I've tried to
>compile a RegExp representing a backspace, but no matter how I word
>the RegExp constructor, it never tests "true". (Other RegExp tests I
>use DO work as expected).
>If someone does know how to do this, could you please include a
>implementation of Acroforms? Thanks in advance to anyone who can