TomG - Thanks that works!But I do now have the issue that I am not able to convert the Input text to a number upon page completion. I do math with the input on the next page and I want to embed it as a numeric value.Here is my script:Within "addonload" I have:let purchaseinput = new Cleave('.InputText', {numeral: true, numeralThousandsGroupStyle: 'thousand'});Then within "addOnPageSubmit" I have: let purchaseamountq = jQuery("#"+this.questionId+" .InputText") ; let purchaseamountnum = parseFloat(purchaseamountq.replace(/,/g, "")) Qualtrics.SurveyEngine.setEmbeddedData("Purchased", purchaseamountnum);The embedding worked before I added the cleave functionality and the parse. I am wondering if it is my retrieving of the input (i.e., JQuery) that might not be working now that I have the cleave added.Welcome any help on what my issue might be.Thanks
Hi all,I am also trying to add comma separators to a single text input box. I understand that we need to added the following script to the Java for that question: var cleave = new Cleave('.InputText', {numeral: true, numeralThousandsGroupStyle: 'thousand'});But I am really struggling with how to add the following portion to the header:script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cleave.min.js">Can someone help me with the steps needed to navigate to where this needs to be input? The portion of the text that says "email protected" I am supposed to leave that as is? Is it possible that since I am using a corporate account that the ability to add script to my header to locked / removed? Thanks in advance!
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.