Jump to content

Help! Need rule for unique character


Recommended Posts

So here's the story:


My customer has a field for the signature, called "CustomLine 01". This is to use a font they provide called "dakota". In some, not all of the signatures there appears the ® symbol. Dakota does not include this, it's a very barebones font.


Can I make a rule to search for all instances of that, and change it to like Arial or whatever so it doesn't output as a square?

Link to comment
Share on other sites

Give this a try:

return Field("CustomLine 01").replace("®","<f name=\"Arial\">®</f>");


Make sure that you have "Treat returned strings as tagged text" checked in your rule editor.

Link to comment
Share on other sites

Sweet! Thanks!


(er...now they want it superscript of course)


Any ideas?


Now it appears it's only changing the first instance of the ®




(there are two of 'em in the field)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...