rkury14
-
Posts
56 -
Joined
Posts posted by rkury14
-
-
I have another help request that is a continuation from my bullet superscript request.
I was able to come up with a rule to add the SM reg mark at the end of the sentences in the bullets, however, now I have a problem with those specific words "On Demand" being used in the middle of the sentence where I do not want the SM to apply because there is already a R reg mark on it.
Example:
"• Includes HBO®, HBO ON DEMAND SM® and HBO GO® with
over 1,700 of your favorite HBO original shows, movies,
sports and more."
How can I continue my rule above to apply an "IF Else" Rule to take it from the middle of the sentence?
Thanks for your help.
-
I think I was able to solve this issue after doing some digging in this online community.
Here is Rule I was able to use that actually allowed me to apply the TM superscript to the words "ON DEMAND" where it was being used in my bullets.
var s = Field("BULLET_1");
FusionPro.Composition.AddVariable
s = s.replace(/ON DEMAND/ig, "<span>" + " ON DEMAND" + "<superscript>TM</superscript>");
return s;
I made one Rule for each Bullet column used and changed the number of the bullet like this
var s = Field("BULLET_2");
FusionPro.Composition.AddVariable
s = s.replace(/ON DEMAND/ig, "<span>" + " ON DEMAND" + "<superscript>TM</superscript>");
return s;
Just thought it might help others who had that issue.
-
Hello support,
I wonder if you can help or if it is even possible to make a rule that can help me.
My issue is I have a customer database that drives the majority of my variable job. In the database there are 4 columns with Bullets content in each.
In each Bullet column there are sentences that has the words "On Demand" used periodically.
My question is how can I apply the superscript "SM" RULE after those words when they are used.
I am a Novice at this, so here is a really bad example of the Rule I started:
Or it could maybe be one rule for each Bullet would be fine...
if (Field("BULLET_1") == "ON DEMAND")
else if (Field("BULLET_2") == "ON DEMAND")
else if (Field("BULLET_3") == "ON DEMAND")
else if (Field("BULLET_4") == "ON DEMAND")
{
return "SM"
else
return " ";
}
Thanks in advance for your help.
Rayed
-
Thank you guys for your prompt response. I found it very helpful. :-)
-
In FusionPro, I occasionally have to add prices and I also make a subscript for the $ sign and the trailing .00.
I can't seem to get those two subscript numbers to flush to the top of the main price no matter how much leading I apply. My customer complains that that is how they want the prices to look.
Is there any rule that can make that happen?
Thank you,
Rayed
Applying a superscript to a bullet
in Issues, Questions, Etc.
Posted
Here is the attempted rule that does not work. The top half is the original, the bottom half is the add on.
Thanks,
var s = Field =("BULLET_1")
FusionPro.Composition.AddVariable
{ if (s = s.replace(/On DEMAND/ig, "<span>" + " On DEMAND" + "<superscript>SM</superscript>"));
return s;}
else
return "";
}
var m = Field =("BULLET_1")
FusionPro.Composition.AddVariable
{
if (m = m.replace(/HBO On DEMAND/ig, "<span>" + "HBO On DEMAND" + "<superscript>""</superscript>"));
return m;
else
return "";}