Is there anyway to make the [[S120:dc:recurringFrequencyLabel]] to lowercase

So currently our [[S120:dc:recurringFrequencyLabel]] returns text start with uppercase like ‘Quarterly’. Is there a function or something to make it lower case? I tried using css to make it lowercase on email but it does support Outlook client.

Tagged:

Comments

  • @Tao Ye Na
    I'd typically create a conditional to check for the value you are wanting to change and if it gets that, convert it to the value you want.

  • @Tao Ye Na
    It's long, but S130 tag can do it. Something like:

    [[E130: “[[S120:dc:recurringFrequencyLabel]]”

    "A" "a" replaceall
    "B" "b" replaceall
    "C" "c" replaceall
    "D" "d" replaceall
    "E" "e" replaceall
    "F" "f" replaceall
    "G" "g" replaceall
    "H" "h" replaceall
    "I" "i" replaceall
    "J" "j" replaceall
    "K" "k" replaceall
    "L" "l" replaceall
    "M" "m" replaceall
    "N" "n" replaceall
    "O" "o" replaceall
    "P" "p" replaceall
    "Q" "q" replaceall
    "R" "r" replaceall
    "S" "s" replaceall
    "T" "t" replaceall
    "U" "u" replaceall
    "V" "v" replaceall
    "W" "w" replaceall
    "X" "x" replaceall
    "Y" "y" replaceall
    "Z" "z" replaceall

    ]]

  • Will Hull
    Will Hull Blackbaud Employee
    Tenth Anniversary Name Dropper Kudos 1 Participant

    Hey there, @Tao Ye Na

    I do this by wrapping the text in a span if this is in an email autoresponder using the inline style of "text-transform: lowercase;" on the HTML side of the email.

    e.g. <span style="text-transform: lowercase; font-family: Arial, sans-serif; font-size: 16px; font-weight: normal; color: #333; line-height: 1.4em;">[[S120:dc:recurringFrequencyLabel]]</span>

    Unfortunately, there is no way to do it on the Plain Text Editor side with a span, but perhaps the S130 tag that @Jeremy Reynolds mentioned above might do the trick on the Plain Text side of the autoresponder message.