Best answer by TomG
View originalFormatting piped text
I am reminding participants what they selected on a slider scale in a previous portion of the survey using piped text. I would like to format this piped text by adding a dollar sign and commas to it. Is there a way to do that using custom CSS code?
You can't format a number (e.g. add commas) with CSS. You would have to write JavaScript. For a $ sign you could just put the $ character before your piped text.
Thank you! That worked for the dollar sign. Do you have java script code for the commas? I don't know java
Hi,
Did you ever figure out the formatting with commas and perhaps a decimal (if needed)? It woudl be something like a $ 1,000.00 type of format?
I am in the same need after generating pricing.
Thanks,
Adam
https://www.qualtrics.com/community/discussion/comment/27912#Comment_27912You can use wNumb to format a number with $ and commas.
https://www.qualtrics.com/community/discussion/comment/27913#Comment_27913Thanks TomG! Does that require placing something for reference in the header or footer of the survey? Was a little uncertain how the reference is made there.
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.