Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spawning problems

Status
Not open for further replies.

csb1021

Technical User
Apr 14, 2011
8
US
Hello:

I have a 2-page form where the second page is set as a template. I've then added a button - "Add a New Page" with this script:

var a = this.getTemplate("biweekly")
a.spawn ({
nPage:this.numPages,
bRename:true,
bOverlay:false
})
this.pageNum = this.numPages-1;

However, the problem that I am having is that the data entered in the fields on the first page is being copied to the second page even the template is changing the names of the fields in the second page.

Can anyone see what I'm doing wrong here and how to correct it?

Thanks
Connie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top