Previous | Next | (P-PDF) Acrobat 7
Topic: Problem with getTemplate
Conf: (P-PDF) Acrobat 7, Msg: 126299
From: Anja
Date: 1/26/2005 01:24 AM
I have made a document in Acrobat 7.0 using the getTemplate statement.
My document consists of 31 pages with a total of 29 pages as templates.
By using check boxes my customers can make a choice of what form the need.
I used the following JS:
var golfTemplate = this.getTemplate("tptGolf")
if (event.target.value == "Yes")
{
golfTemplate.spawn(this.numPages, false, false);
}
In Acrobat 6.0 Pro it works fine in reader 5 and 6.
Using the same statement in Acrobat 7.0 Pro is does not seem te work in reader 6 (in my company they only have reader 6)
Has it something to do with rights or do I have to use the statement differently?
Please help