Spawning template based on value


hello,

 

i'm trying set script when user inputs value value calculated spawn number of pages based on value. possible?

 

thanks.

 

currently using code:

 

// template object existing template

var t = gettemplate("test");

 

// spawn template on page following one, , rename fields

t.spawn({npage: pagenum + 1, brename: true, boverlay: false});

where placing code? can use field's validation script

to check value , decide whether page should spawned or not. do

you know, though, not work in reader prior xi?



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

login issue Duplicate entry '' for key 'PRIMARY' SQL=INSERT - Joomla! Forum - community, help and support

Liquify as a Smart Filter Issue in Photoshop Creative Cloud edition