I have a business card that has different options for fronts and backs depending on what they choose. Our client wanted to add another back option but I'm unable to make it work.
Here are the possible fronts and backs
In the "card" Field they choose...
1. snowbasin (front=snowbasin, back=sunvalley)
2. sunvalley (f=sunvalley, b=back)
3. SV. Condominium Op. (f=sunvalley, b=back)
4. Retail (f=Retail, b=retailback) NEW BACKER OPTION
5. Recreation (f=sunvalley, b=recback)
Here's the old script I had that worked...
if (Field("card") == "snowbasin")
{
FusionPro.Composition.SetBodyPageUsage("snowbasin",true) ;
}
else if (Field("card") == "sunvalley")
{
FusionPro.Composition.SetBodyPageUsage("sunvalley",true) ;
}
else if (Field("card") == "SV. Condomminium Op.")
{
FusionPro.Composition.SetBodyPageUsage("sunvalley",true) ;
}
else if (Field("card") == "Retail")
{
FusionPro.Composition.SetBodyPageUsage("Retail",true) ;
}
else if (Field("card") == "Recreation")
{
FusionPro.Composition.SetBodyPageUsage("sunvalley",true) ;
FusionPro.Composition.SetBodyPageUsage("recback",true) ;
FusionPro.Composition.SetBodyPageUsage("back",false) ;
}
Its been a while since I edited this script so anything you can do to help fix would be greatly appreciated. Thanks