${m://lastname} & ${m://firstname} : from UPPERCASE to CAPITALIZE (html code) | Experience Community
Skip to main content
Solved

${m://lastname} & ${m://firstname} : from UPPERCASE to CAPITALIZE (html code)

  • Jun 24, 2021 5:28 PM UTC
  • 4 replies
  • 378 views

JR33
QPN Level 2 ●●
Forum|alt.badge.img+10
  • QPN Level 2 ●●

I have a problem with data. The first and last names that are loaded in Qualtrics are all capital letters. Unfortunately, I have no way to act on this data before its Qualtrics integration.
When I contact my clients by email, it therefore displays "Hello RYAN SMITH !" while I would prefer "Hello Ryan Smith !".
So I try to get by with CSS and what seems to work on the screen when I prepare my mail, no longer works when I receive the message.
This is what i did :

Hello

!
And when I receive the email it unfortunately displays "hello ryan smith !" without capital letters.
Could someone help me with this method or another? thank you!

Best answer by JR33

Yes, with jQuery :
jQuery("#"+this.questionId+" .InputText").on("input", function() { this.value = this.value.toUpperCase(); });

View original

4 replies

PraDeepKotian_XM
QPN Level 5 ●●●●●
Forum|alt.badge.img+21
  • QPN Level 5 ●●●●●
  • Jun 24, 2021 7:48 PM UTC

Hi JRKBM

It seems text-transform doesn't support fully in some email applications.


JR33
QPN Level 2 ●●
Forum|alt.badge.img+10
  • Author
  • QPN Level 2 ●●
  • Jun 25, 2021 3:58 PM UTC

thank you I give up my research in this direction


SusanaBranco
Forum|alt.badge.img+1

Did you find how to do it?


JR33
QPN Level 2 ●●
Forum|alt.badge.img+10
  • Author
  • QPN Level 2 ●●
  • Answer
  • Aug 18, 2022 3:31 PM UTC

Yes, with jQuery :
jQuery("#"+this.questionId+" .InputText").on("input", function() { this.value = this.value.toUpperCase(); });