Jump to content

Combining 2 templates into one.


Naval

Recommended Posts

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

Link to comment
Share on other sites

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:

FusionPro.Composition.SetBodyPageUsage(2, Field("Duplex"));

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...