drewsimmons Posted November 20, 2012 Share Posted November 20, 2012 hello Im new to FusionPro and i had a quick question I'm not very knowledgeable in javascript but I'm reaching out for a bit of help with a issue I'm having Here is an example of the text I'm using "….call me at «Phone_number» ext. «FA_ext»" The ext. is optional. If a user doesn't have an extension is there a rule that can be used to delete "ext. «FA_ext»" and just put the number there? Any help or direction would be greatly appreciated Thank you Drew Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 21, 2012 Share Posted November 21, 2012 if (!Field("FA_ext")) return ""; //else return " ext. " + Field("FA_ext"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.