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

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


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

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 ●●●●●
  • 228 replies
  • June 24, 2021

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 ●●
  • 75 replies
  • June 25, 2021

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 ●●
  • 75 replies
  • Answer
  • August 18, 2022

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


Leave a Reply