Hi, I would like to do the following but need some help:
I have a stand-alone PDF form, fully Reader-extended.
It has 5 pages,
on page #1, there is an numeric field,
what I want to do is,
say for example, when the user enters a number (integer) 3,
I want it to dynamically generate 3 sets of (page #2 + page #3)...
so, the final result is this:
page 1,
page 2,
page 3,
page 4, (same as page #2)
page 5, (same as page #3)
page 6, (same as page #2)
page 7, (same as page #3)
page 8, (same as page #2)
page 9, (same as page #3)
page 10, (the original page #4)
page 11 (the original page #5)
how to do this? could any one help please?
if would be great if you have a sample that I can model after.
TIA
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
If pages 2 & 3 can use the same Master Page try:
Page1
Page2
--SubformPages2and3
----SubformPage2
----SubformPage3
Page4
Etc.
Then use on the exit event of the numericField
var numRepeat = numericField
_SubformPages2and3.setInstance(numRepeat)
// or in JavaScript
var numRepeat = numericField.rawValue;
_SubformPages2and3.setInstance(numRepeat);
I would consider a dropdown box instead of a numeric field to avoid the "exceeded max number of instances" error messages when the user puts in too many.
or
use a comb of 1 or set the patterns to only allow 1 numeric character.
I hope this helps!
Stephen
Message was edited by: kingphysh
Views
Replies
Total Likes
Hi,
If pages 2 & 3 can use the same Master Page try:
Page1
Page2
--SubformPages2and3
----SubformPage2
----SubformPage3
Page4
Etc.
Then use on the exit event of the numericField
var numRepeat = numericField
_SubformPages2and3.setInstance(numRepeat)
// or in JavaScript
var numRepeat = numericField.rawValue;
_SubformPages2and3.setInstance(numRepeat);
I would consider a dropdown box instead of a numeric field to avoid the "exceeded max number of instances" error messages when the user puts in too many.
or
use a comb of 1 or set the patterns to only allow 1 numeric character.
I hope this helps!
Stephen
Message was edited by: kingphysh
Views
Replies
Total Likes
yes it worked. thanks very much!
Views
Replies
Total Likes
Views
Likes
Replies