Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Graphic Rules

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 6th, 2016, 08:40 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 42
Default Combining 2 templates into one.

Hi there, i am new to this site. Can anyone help me with my query.

I have got 2 business card template. One simplex and one duplex. I want to make this 2 into one template. Is there a way i can do this. Say for example if anyone enters any details on certain field it will generate page 2 or if a certain field is empty it will only generate single sided card.

Thanks for your help in advanced.
Naval
Reply With Quote
  #2  
Old September 7th, 2016, 06:42 AM
step's Avatar
step step is offline
Senior Contributor
 
Join Date: Jan 2010
Location: Charlotte, NC
Posts: 955
Default Re: Combining 2 templates into one.

Yeah, you can do that with an OnRecordStart callback rule. For example, if a user enters information in a "Duplex" field, you want to enable the 2nd page but if the "Duplex" field does not contain any data, you want to suppress the 2nd page:
Code:
FusionPro.Composition.SetBodyPageUsage(2, Field("Duplex"));
__________________
Ste Pennell
FusionPro VDP Creator 9.3.15
Adobe Acrobat X 10.1.1
Mac OS X 10.12

LinkedIn
Reply With Quote
  #3  
Old September 7th, 2016, 01:57 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 42
Thumbs up Re: Combining 2 templates into one.

You're a star. Thank you. It worked. It will save me heaps of time.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.