Survey359engidsidgroup_namegroup_orderdescriptionlanguagerandomization_groupgrelevanceqidparent_qidsidgidtypetitlequestionpreghelpothermandatoryquestion_orderlanguagescale_idsame_defaultrelevancemodulename
$(document).on('ready pjax:scriptcomplete',function(){
var thisQuestion = $('#question{QID}');
// Column-specific classes
$('tr.subquestion-list', thisQuestion).each(function(i) {
$('th, td', this).each(function(i) {
$(this).addClass('column-'+i);
});
});
// Insert selects into column 1
if($('.answer-item.column-1 .inserted-select', thisQuestion).length == 0) {
$('.answer-item.column-2', thisQuestion).addClass('with-select').append('');
$('.answer-item.column-5', thisQuestion).addClass('with-select').append('');
}
// Listeners on select elements
$('.inserted-select', thisQuestion).on('change', function(i) {
if($(this).val() != '') {
$(this).closest('.answer-item').find('input:text').val($.trim($('option:selected', this).text())).trigger('change');
}
else {
$(this).closest('.answer-item').find('input:text').val('').trigger('change');
}
});
// Listener on column 2 inputs
$('.answer-item.column-4 input:text', thisQuestion).on('keyup change', function(e) {
var thisValue = $.trim($(this).val());
// Numerics only
if($.isNumeric(thisValue) === false) {
// Strip out non-numerics characters
newValue = thisValue.replace(/\D/g,'');
$(this).val(newValue).trigger('change');
}
/*
// Max/min values
var maxAllowed = 60;
var minAllowed = 0;
if (thisValue > maxAllowed) {
alert('The maximum allowed is '+maxAllowed+'.');
$(this).val(maxAllowed);
}
else if (thisValue < minAllowed) {
alert('The minimum allowed is '+minAllowed+'.');
$(this).val(minAllowed);
}
*/
});
// Returning to page
$('.with-select input:text', thisQuestion).each(function(i) {
var thisCell = $(this).closest('.answer-item');
var inputText = $.trim($(this).val());
var selectval = $('select.inserted-select option', thisCell).filter(function () { return $(this).html() == inputText; }).val();
$('select.inserted-select', thisCell).val(selectval);
});
// Clean-up styles
$('select.inserted-select', thisQuestion).css({
'max-width': '100%'
});
$('.with-select input:text', thisQuestion).css({
'position': 'absolute',
'left': '-9999em'
});
});
]]>qidparent_qidsidgidtypetitlequestionpreghelpothermandatoryquestion_orderlanguagescale_idsame_defaultrelevancemodulenamesidgsidadminexpiresstartdateadminemailanonymizedfaxtoformatsavetimingstemplatelanguageadditional_languagesdatestampusecookieallowregisterallowsaveautonumber_startautoredirectallowprevprintanswersipaddrrefurlshowsurveypolicynoticepublicstatisticspublicgraphslistpublichtmlemailsendconfirmationtokenanswerspersistenceassessmentsusecaptchausetokensbounce_emailattributedescriptionsemailresponsetoemailnotificationtotokenlengthshowxquestionsshowgroupinfoshownoanswershowqnumcodebouncetimebounceprocessingbounceaccounttypebounceaccounthostbounceaccountpassbounceaccountencryptionbounceaccountusershowwelcomeshowprogressquestionindexnavigationdelaynokeyboardalloweditaftercompletiongoogleanalyticsstylegoogleanalyticsapikeysurveyls_survey_idsurveyls_languagesurveyls_titlesurveyls_descriptionsurveyls_welcometextsurveyls_endtextsurveyls_policy_noticesurveyls_policy_errorsurveyls_policy_notice_labelsurveyls_urlsurveyls_urldescriptionsurveyls_email_invite_subjsurveyls_email_invitesurveyls_email_remind_subjsurveyls_email_remindsurveyls_email_register_subjsurveyls_email_registersurveyls_email_confirm_subjsurveyls_email_confirmsurveyls_dateformatsurveyls_attributecaptionsemail_admin_notification_subjemail_admin_notificationemail_admin_responses_subjemail_admin_responsessurveyls_numberformatattachments
you have been invited to participate in a survey.
The survey is titled:
"{SURVEYNAME}"
"{SURVEYDESCRIPTION}"
To participate, please click on the link below.
Sincerely,
{ADMINNAME} ({ADMINEMAIL})
----------------------------------------------
Click here to do the survey:
{SURVEYURL}
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}
If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:
{OPTINURL}]]>
Recently we invited you to participate in a survey.
We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.
The survey is titled:
"{SURVEYNAME}"
"{SURVEYDESCRIPTION}"
To participate, please click on the link below.
Sincerely,
{ADMINNAME} ({ADMINEMAIL})
----------------------------------------------
Click here to do the survey:
{SURVEYURL}
If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}]]>
You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.
To complete this survey, click on the following URL:
{SURVEYURL}
If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]>
this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.
If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.
Sincerely,
{ADMINNAME}]]>
A new response was submitted for your survey '{SURVEYNAME}'.
Click the following link to reload the survey:
{RELOADURL}
Click the following link to see the individual response:
{VIEWRESPONSEURL}
Click the following link to edit the individual response:
{EDITRESPONSEURL}
View statistics by clicking here:
{STATISTICSURL}]]>
A new response was submitted for your survey '{SURVEYNAME}'.
Click the following link to reload the survey:
{RELOADURL}
Click the following link to see the individual response:
{VIEWRESPONSEURL}
Click the following link to edit the individual response:
{EDITRESPONSEURL}
View statistics by clicking here:
{STATISTICSURL}
The following answers were given by the participant:
{ANSWERTABLE}]]>967142fruity
inherit
inheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinheritinherit967142vanillainherit967142fruity
noto
#ffffff#444444#fffffff00c./files/logo.pngfadeInRight500flipInX500shake500rubberBand500zoomIn500onononon1offoffoffoffoffoffonoffoffoffonon967142vanillaonononoff./files/logo.png
noto