How can I set the first letter capital in dynamic field under the Subject Line

Comments

5 comments

  • Christoph Bennett

    Hi Charlie,

    I am not aware of any Acoustic Campaign feature to do this. However, if you place some special CSS around the firstname placeholder, you can achieve the same result. Try style = "text-transform:capitalize;" in your respective outer tag, like < p > or < span >.

    Obviously this only works for the HTML portion of email messages or for Inbox messages in Mobile Push. This will not work in plain text communications like SMS nor the subject line.

    Regards,
    Christoph

    0
    Comment actions Permalink
  • Charlie Fung

    Thanks Christoph

    CSS style only work in HTML body message but not working on Subject Line.   Thank you so much. 

     

     

     

    0
    Comment actions Permalink
  • Justin Muscat

    Thanks Christoph,

    Is there a way we can replicate this in the Subject Line?  I have several names in players DB with lowercase characters and I want to make the first letter uppercase for the subject line.

    0
    Comment actions Permalink
  • Christoph Bennett

    Justin, currently there does not seem to be any way of transforming data when working with personalization fields, unless we are talking about date fields. I think your only option is to update the data inside your players DB or try to fix this when import updating your data from whatever external source your data is coming from. The system that is primarily collecting your users first names needs to take care of this.

    If you are collecting these details using a web form you could probably use some client-side text transformation using JavaScript to achieve the desired result before saving the data.

    0
    Comment actions Permalink
  • Melissa Cornett

    Justin and Charlie,

    Unfortunately - there is not a way to make this work in subject line unless you are sending the email via an XML call and call it out in the XML. You can use the function in the body of the email or landing page but not in the subject line. You can reference more information around XML call materials here: https://developer.goacoustic.com/acoustic-campaign/docs/full-scope-map-of-acoustic-campaign

    0
    Comment actions Permalink

Please sign in to leave a comment.