Question
jquery removing default 0 in constant sum question causing answered to be erased when clicking back
I have a collection of constant sum questions which have a jQuery line (see below) removing the default 0 in the input box so that boxes appear blank. That works fine, but when in testing when you go backwards in the survey after answering these questions, the responses are wiped away and the boxes appear blank. We need to have these answers saved if/when a respondent goes back and revisits these questions. Any suggestions?
line used:
jQuery("#"+this.questionId+" li input[type=text]").val("");
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.