I am having trouble coding questions to automatically format numbers. I am dealing with revenues and in the hundreds of thousands and millions. I do have the telepad coded for the question already. I am new to javascript and coding in general.
What code would work to make it delimit three digits per comma to separate by the thousands?
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery("#"+this.questionId+" input[type='text']").attr('type', 'tel');
});
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});
Help with Number Formatting
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

Hope it help!