Hey all,
Have a question regarding datatypes in qualtrics. I have a field in qualtrics that has validation set to content type and number with a minimum value above zero and a maximum value below 10000000.
This data field eventually has a workflow that sends it to salesforce, but salesforce rejects any value that has a comma in it (e.g., 100,000). Is there a way to maintain the data validation in qualtrics, drop the comma, and just send the numeric value in the JSON?
Page 1 / 1
You could add this JS to the question:
Qualtrics.SurveyEngine.addOnPageSubmit() {
var input = jQuery("#"+this.questionId+" .InputText");
input.val(input.val().replace(/,/g,"");
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.