But there's more! I figured out the fix on the year; updated the qid that it was accessing.However, (and there's always a however), I have 2 questions in a row for the dates.So the first one is fine now. But the year on the "move out" is still set to 1900. The JS code is only set for the first one?Again, any suggestions much appreciated.Sincerely,Erin
OK. I see what the trouble is. We actually removed the "day" column. That is impacting the yearFirst value. When I had the day column in, it was fine.Do you have any suggestions, please?Thanks again,Erin
I actually did that. Here is the code:Qualtrics.SurveyEngine.addOnload(function(){ //Set years you would like to have available var yearFirst = 1978; //Min 1900 var yearLast = 2049; //Max 2049 //This all remains unchanged var qid=this.questionId; var mo=document.getElementsByName('QR~'+qid+'#1~1')[0]; var day=document.getElementsByName('QR~'+qid+'#2~1')[0]; var yr=document.getElementsByName('QR~'+qid+'#3~1')[0]; var j = yearLast-1976; for(i=j;i
Awesome, thank you!
I actually figured it out myself, and it works great!Thank you,Erin
Already have an account? Login
Enter your 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.