Groups > Software Support > Adobe Acrobat Scripting > Re: How do you code =?ISO-8859-1?Q?=93blur=94?=?




How do you code =?ISO-8859-1?Q?=93blur=94?=?

How do you code =?ISO-8859-1?Q?=93blur=94?=?
Mon, 5 May 2008 14:48:02 -0700
Have gotten no response to my question about how to detect when a Text Box has
been “selected”. So I had to find another solution to my problem. I found a
“method” called “blur()” that, when put into a link, should be able to un-select
a selected Text Box. Not knowing much about JavaScript syntax, I tried using
“blur” in several hours worth of made-up trial statements but none worked.
Please help.

Post Reply
Re: How do you code =?ISO-8859-1?Q?=93blur=94?=?
Tue, 6 May 2008 05:04:19 -0700
As far as I know there is no dedicated blur() method. However you can force a
field object to lose its focus by making it invisible and visible again.

Use the following code as a link action:

var f = this.getField("Text5");
f.display=display.hidden;
f.display=display.visible;

Post Reply
Re: How do you code =?ISO-8859-1?Q?=93blur=94?=?
Tue, 6 May 2008 10:20:20 -0700
Post Reply
Re: How do you code =?ISO-8859-1?Q?=93blur=94?=?
Tue, 6 May 2008 22:18:19 -0700
Mr. Grahn,

Post Reply
about | contact