Survey615es-COgidsidgroup_orderrandomization_groupgrelevanceidgidgroup_namedescriptionlanguagesidgroup_orderrandomization_groupgrelevanceqidparent_qidsidgidtypetitlepregothermandatoryencryptedquestion_orderscale_idsame_defaultrelevancequestion_theme_namemodulenamesame_scriptqidparent_qidsidgidtypetitlepregothermandatoryencryptedquestion_orderscale_idsame_defaultrelevancequestion_theme_namemodulenamesame_scriptidqidquestionhelpscriptlanguage
$(document).on('ready pjax:scriptcomplete', function() {
var thisQuestion = $('#question{QID}');
// Reemplazar los campos de texto con campos de selección en la matriz SQ001
$('.answer-item.answer_cell_SQ001', thisQuestion).addClass('with-select').append('');
// Listener on color select elements
$('.inserted-select', thisQuestion).on('change', function() {
var selectedColor = $(this).val();
var personInput = $(this).closest('.answer-item').siblings('.answer-item.answer_cell_SQ002').find('input[type="text"]');
// Mostrar la persona correspondiente o limpiar el campo
if (selectedColor === 'Rojo') {
personInput.val('Morado');
} else if (selectedColor === 'Azul') {
personInput.val('Ana');
} else if (selectedColor === 'Amarillo') {
personInput.val('Juan');
} else if (selectedColor === 'Verde') {
personInput.val('Luis');
} else {
personInput.val('');
}
});
// Inicialización de selects al cargar la página
$('.with-select input:text', thisQuestion).each(function() {
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).trigger('change');
});
// Limpieza de estilos
$('select.inserted-select', thisQuestion).css({
'max-width': '100%'
});
$('.with-select input:text', thisQuestion).css({
'position': 'absolute',
'left': '-9999em'
});
// Nueva lógica para SQ003 y SQ004
// Reemplazar el campo de texto existente en SQ003 con campos de selección
$('.answer-item.answer_cell_SQ003 input[type="text"]', thisQuestion).replaceWith('');
// Listener on country select elements
$('.inserted-select-country', thisQuestion).on('change', function() {
var selectedCountry = $(this).val();
var personInput = $(this).closest('.answer-item').siblings('.answer-item.answer_cell_SQ004').find('input[type="text"]');
// Mostrar la persona correspondiente o limpiar el campo
if (selectedCountry === 'Colombia') {
personInput.val('Carlos');
} else if (selectedCountry === 'Argentina') {
personInput.val('María');
} else if (selectedCountry === 'Brasil') {
personInput.val('Pedro');
} else if (selectedCountry === 'Chile') {
personInput.val('Sofia');
} else {
personInput.val('');
}
});
// Inicialización de selects de países al cargar la página
$('.with-select input:text', thisQuestion).each(function() {
var thisCell = $(this).closest('.answer-item');
var inputText = $.trim($(this).val());
var selectval = $('select.inserted-select-country option', thisCell).filter(function() { return $(this).html() == inputText; }).val();
$('select.inserted-select-country', thisCell).val(selectval).trigger('change');
});
// Limpieza de estilos para selects de países
$('select.inserted-select-country', thisQuestion).css({
'max-width': '100%'
});
});
]]>qidattributevaluelanguagesidgsidadminexpiresstartdateadminemailanonymizedformatsavetimingstemplatelanguageadditional_languagesdatestampusecookieallowregisterallowsaveautonumber_startautoredirectallowprevprintanswersipaddripanonymizerefurlshowsurveypolicynoticepublicstatisticspublicgraphslistpublichtmlemailsendconfirmationtokenanswerspersistenceassessmentsusecaptchausetokensbounce_emailattributedescriptionsemailresponsetoemailnotificationtotokenlengthshowxquestionsshowgroupinfoshownoanswershowqnumcodebouncetimebounceprocessingbounceaccounttypebounceaccounthostbounceaccountpassbounceaccountencryptionbounceaccountusershowwelcomeshowprogressquestionindexnavigationdelaynokeyboardalloweditaftercompletiongoogleanalyticsstylegoogleanalyticsapikeytokenencryptionoptionssurveyls_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_attributecaptionssurveyls_aliasemail_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}
Si no desea participar más en este formulario y no quiere recibir más invitaciones, por favor haga click en el siguiente link:
{OPTOUTURL}
Si está en la lista negra, pero desea participar en este formulario y desea recibir invitaciones por favor haga clic en el siguiente enlace:
{OpenUrl} ]]>
Recientemente se le invitó a participar en el formulario de título
«{SURVEYNAME}»
«{SURVEYDESCRIPTION}»
Advertimos que aún no la ha completado, y de la forma más atenta queríamos recordarle que todavía se encuentra disponible si desea participar.
Para hacerlo, por favor pulse en el siguiente enlace.
{SURVEYURL}
Nuevamente le agradecemos su interés y colaboración.
Atentamente,
{ADMINNAME} ({ADMINEMAIL})
Si no desea participar más en este formulario y no quiere recibir más invitaciones, por favor haga click en el siguiente link:
{OPTOUTURL}]]>
Usted, o alguien utilizando su dirección de correo electrónico, se ha registrado para participar en un cuestionario en línea titulado "{SURVEYNAME}".
Para completarla, pulse en la siguiente URL:
{SURVEYURL}
Si tiene dudas con respecto al cuestionario, o si no se registró para participar y cree que este correo es un error, por favor, póngase en contacto con {ADMINNAME} en {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}]]>
Una nueva respuesta ha sido realizada para su formulario '{SURVEYNAME}'.
Click en el siguiente link para recargar el formulario:
{RELOADURL}
Click en el siguiente link para ver la respuesta individualmente:
{VIEWRESPONSEURL}
Click en el siguiente link para editar la respuesta:
{EDITRESPONSEURL}
Vea las estadísticas aquí:
{STATISTICSURL}
Las siguientes respuestas fueron subidas por:
{ANSWERTABLE}]]>
Una nueva respuesta ha sido realizada para su formulario '{SURVEYNAME}'.
Click en el siguiente link para recargar el formulario:
{RELOADURL}
Click en el siguiente link para ver la respuesta individualmente:
{VIEWRESPONSEURL}
Click en el siguiente link para editar la respuesta:
{EDITRESPONSEURL}
Vea las estadísticas aquí:
{STATISTICSURL}
Las siguientes respuestas fueron subidas por:
{ANSWERTABLE}]]>149261fruity_twentythreeinherit149261fruity_twentythreeoff1offtopenableoff./files/pattern.pngoffimage::theme::files/logo.png
ibm-sans
Apple