I am tring to get a rule to work that returns a string and variable based
off another image field. It will preview fine in acrobat but when I upload
 all I see is the rule name, not the info I want. Any suggestions?

Heres my js:


if (Field("BckGrdpageStyle") == 'CampaignIdeaFlyer_Times2.pdf')
{
return '<f name=\"TimesNewRomanPS\">' + String("Take the first step call to 
speak with our ") +
Field("Title") + String(".") + '</f>';
}

else if (Field("BckGrdpageStyle") == 'CampaignIdeaFlyer_Arial2.pdf')
{
return '<f name=\"Arial\">' + String("Take the first step call to speak with 
our ") +
Field("Title") + String(".") + '</f>';
}


else if (Field("BckGrdpageStyle") == 'CampaignIdeaFlyer_Cochin2.pdf')
{
return '<f name=\"Cochin\">' + String("Take the first step call to speak with 
our ") +
Field("Title") + String(".") + '</f>';
}


else if (Field("BckGrdpageStyle") == 'CampaignIdeaFlyer_Goudy2.pdf')
{
return '<f name=\"Goudy Old Style\">' + String("Take the first step call to 
speak with our ") +
Field("Title") + String(".") + '</f>';
}

else if (Field("BckGrdpageStyle") == 'CampaignIdeaFlyer_Human2.pdf')
{
return '<f name=\"Humanst521 BT\">' + String("Take the first step call to speak 
with our ") +
Field("Title") + String(".") + '</f>';
}

Jamie Gaughan
TGI

--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to