Skip to content

Commit 7f0d7bc

Browse files
committed
new survey
1 parent 3c02d96 commit 7f0d7bc

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,16 +1610,22 @@ var survey_v4 = '\n\
16101610
<input type="hidden" id="Q-version" value="v4"/> <!-- for versioning -->\n\
16111611
</p>'
16121612
1613-
v5: (deployed on 2015-03-01) - target older population
1614-
*/
1613+
v5: (deployed on 2015-03-01, retired on 2015-08-31) - target older population
16151614
var survey_v5 = '\n\
16161615
<p style="margin-top: 10px; line-height: 175%;">\n\
16171616
If you are <span style="color: #333; font-weight: bold;">at least 60 years old</span> and would like to help our research on how older people learn programming, please enter your email address here:\n\
16181617
<input type="text" id="email-addr-Q" class="surveyQ" size=30 maxlength=300/><br/>\n\
16191618
<input type="hidden" id="Q-version" value="v5"/> <!-- for versioning -->\n\
16201619
</p>'
16211620
1622-
var survey_html = survey_v5;
1621+
v6: (deployed on 2015-08-31) - use SurveyMonkey links
1622+
*/
1623+
var survey_v6 = '\n\
1624+
<p style="font-size: 9pt; margin-top: 10px; line-height: 175%;">\n\
1625+
Please support our research and keep this tool free by <b><a href="https://www.surveymonkey.com/r/YD7KZ8P" target="_blank">filling out this short survey</a></b>.<br/>\n\
1626+
If you are at least 60 years old, please also <a href="https://www.surveymonkey.com/r/Y9X75HC" target="_blank">fill out this survey</a>.</p>'
1627+
1628+
var survey_html = survey_v6;
16231629

16241630
function setSurveyHTML() {
16251631
$('#surveyPane').html(survey_html);
@@ -1707,7 +1713,7 @@ function getSurveyObject() {
17071713
}
17081714
*/
17091715

1710-
/* v5 */
1716+
/* v5
17111717
var ret = {
17121718
ver: $('#Q-version').val(),
17131719
}
@@ -1718,6 +1724,9 @@ function getSurveyObject() {
17181724
}
17191725
17201726
return ret;
1727+
*/
1728+
1729+
return null;
17211730
}
17221731

17231732

0 commit comments

Comments
 (0)