Previous | Next | (P-PDF) Forms & FDF
Topic: Re: Copy/clone Field Actions? (Via Email)
Conf: (P-PDF) Forms & FDF, Msg: 100759
From: prodok
Date: 11/17/2003 10:10 PM
There is a way to do it. The preparation would be setting up a function
(sound idea anyway, as you would only spread its call throughout the
fields) which does what you want it to do.
Then, you will open the JavaScript Console and enter a script where you
will loop through the field names (as you have multiplicated the
fields, you already have a counter built in) and set the function call
via the setAction() method.
The trick is to make the function understand which field it gets called
from (using the event.target property.
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
or +1 815 425 6566
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
> Is there a Acrobat method (or even a third party tool) that does this.
> I've found too late that the easy way to use common actions across a
> whole table of fields is to set the actions in row #1 and then copy or
> use the table creation method to clone the row. You still have to
> amend per-row references to individual field names if necessary, but
> common things like show/hide field are copied.
>
> Assuming you didn't remember to do this before creating a table are
> there any tools shortcuts?
>