Removing zeros in survey response from constant sum question | XM Community
Skip to main content
Hi,



I am trying to remove zeros from the constant sum questions in my survey. I used the following code to remove the prefilled zeros in the _survey_...



if(jQuery(".ValidationError").text()==""){

jQuery(".InputText").val('');

}



...however, this doesn't remove the zeros from the data once the survey is completed. Is there a way to ensure that the blank responses also don't populate as zeros in the data in the data & analysis section? I don't want to have to keep exporting the data, deleting the zeros, then reimporting it for the report to calculate the proper averages in reports (not including all the zeros).



Thanks

HI! I tried this code but when I try to go back to my answers to double check everything, my answers are gone because that’s what the code’s “goal” is - showing no zeros. is there any way you can tell me why this is occurring? thanks!


Leave a Reply