Participant
May 31, 2023
Question
Add New Page Javascript Button
- May 31, 2023
- 1 reply
- 991 views
I have a security work shift log MSWord file of which a separate file gets filled out by each subsequent shift. My goal is to create a single file for all future shift logs to be contained. I have created a form file and have added a button at the bottom of the form file page which should invoke the following insert new file javascript when clicked on:
this.insertPages({nPage:this.numPages-1, cPath:"log-template.pdf"});However, after exiting the form editor and saving the file, I click on the button and nothing happens. Both the source and the insert (Log-Template) document forms are in the same directory. Please assist. Files are attached...
Thanks, David