Jump to content

SetBodyPageUsage Question


rpaterick

Recommended Posts

*Figured it out. Forgot to check page 2 for "UNUSED"*

 

 

Pretty simple, just can't wrap my mind around it.

 

Date field is called "qty"

input is just 1 and 2 in the data

When 1 is present, just display page 1 on output

When 2 is present, display page 1 and 2 on output

 

I got this far.....

 

if (Field("qty") == "1")
{
FusionPro.Composition.SetBodyPageUsage("1",true);
}

if (Field("qty") == "2")
{
FusionPro.Composition.SetBodyPageUsage("1",true) ;
FusionPro.Composition.SetBodyPageUsage("2",true) ;
}

else
return "";

 

Figured it out. Forgot to check page 2 for "UNUSED"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...