Jump to content

Trying to change font point size based on length of string

Recommended Posts

Hi all,


I'm trying to change my field font size depending on the length of the string in the field. This is my script:


return “<span pointsize=6.5>” +  Field(“First”) + “</span>”;
return “<span  pointsize=20.5>” + Field(“First”) + “</span>”;


But all that does is returns the physical string of


<span pointsize=20.5>MyText</span>


any ideas?

Link to comment
Share on other sites


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

  • Create New...