|
Hi,
all
Could somebody please help my poor,
useless friday afternoon brain out?
Intended
result:
The user enters a multi-line field.
Because the artwork behind the field has lines and Acrobat will not allow us to
set lineSpacing values, I want the field to cover the artwork behind it
(seemingly erasing the lines) when the user starts entering data. If they
tab out again without typing anything - no effect. They start typing,
launch this:
var a =
this.getField('1.describe');
a.fillColor = color.white;
a.borderStyle = border.s; a.lineWidth = 1; a.strokeColor = color.black; So I put the above code into the Keystroke
action but it doesn't fire. I put it (with conditional logic) into
the onBlur action and the script does work as I intended, just not at the
appropriate time.
I remember hearing something about
restrictions in Keystroke scripts but I can't remember now what they were.
Is it possible to run this script on the first
keystroke?
Thanks,
Mark
|
Title: Message
- Re: [PDF-Forms] Friday Afternoon brainfart Lauterbach.Mark
- Re: [PDF-Forms] Friday Afternoon brainfart Max Wyss
- [PDF-Forms] Check-boxes Marc Stols
- Re: [PDF-Forms] Check-boxes Ulf Engborg
