Hey there, I have a bunch of templates that I am creating where i need to have certain variables change font face with user selection in a drop down menu with browse. So when the user selects Arial in the dropdown (named fontCompany), that the line below(named Company Name) will change to arial font. I have been using UI rules, but it is very time consuming to do for each template since there are multiple changes. Any help in getting this started in javascript would be great. I am looking for an else if type statement as i am using Arial, Arial Italic and Bold, and 6 other fonts.
if (Field("fontCompany") != String("Arial")) { return "<span>" +"<f name= \"arial\">"+Field("CompanyName")+"</f>";"</span>"; } return ""; is this right? any help would be great? am I missing something? +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users! Do you have a question or lots of knowledge to share about FusionPro Web? If so, join our Printable Web to Print Users' Forum today! Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- 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 --