Hi - total noob here I am afraid
I have created a surveying template with the first 3 pages generic to every survey/project and then the 4th that should be able to be duplicated as many times as required (ie one per room being surveyed)
Is there anyway of adding a little macro or similar that if a button pressed a copy (blank) of sheet four will be created as sheet 5 and so on?
edited....I have read elsewhere to use subforms and flowing - is there an idiots guide anywhere, I already have the page setup...and when I wrap the sheet with a subform and then flow it the formating goes everywhere and into 3 pages ...
thanks in advance, I have attached the survey file if anyone can help it would be appreciated
Sph
Solved! Go to Solution.
Views
Replies
Total Likes
I added a button on page 4 and called it 'addPageBtn'. The click event for the button adds a new instance of page 4. The form is attached.
// form1.page4.addPageBtn::click - (JavaScript, client)
form1.page4.instanceManager.addInstance(1);
Steve
Views
Replies
Total Likes
I added a button on page 4 and called it 'addPageBtn'. The click event for the button adds a new instance of page 4. The form is attached.
// form1.page4.addPageBtn::click - (JavaScript, client)
form1.page4.instanceManager.addInstance(1);
Steve
Views
Replies
Total Likes
thank you... but how do I see the java...do I see it in LiveCycle or do I edit that in Adobe?
sorry exactly what I wanted but cant see the script area in LiveCyle and would like to know how to do it again in the future
many thanks though..great help!
Views
Replies
Total Likes
First, the Script Editor has to be viewable. If it is not, go to the tool bar, click 'Window', and 'Script Editor'.
Second, click on the 'addPageBtn'. In the upper-left corner of the Script Editor you can choose an event and view the script associated with the event. For the 'addPageBtn' button the JavaScript is attached to the click event.
many thanks....you have saved me hours of head scratching...appreciated.
Views
Replies
Total Likes