Created
June 2, 2020 20:35
-
-
Save manmartgarc/a0cb9c6fa4226ae885690b6df7630a64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnload(function() | |
{ | |
/*Place your JavaScript here to run when the page loads*/ | |
}); | |
Qualtrics.SurveyEngine.addOnReady(function() | |
{ | |
/*Place your JavaScript here to run when the page is fully displayed*/ | |
var bankDict = { | |
"Brasil": [ | |
"Itaú Unibanco", | |
"Banco do Brasil", | |
"Banco Bradesco", | |
"Caixa Economica Federal", | |
"Banco Santander Brasil", | |
"Banco Safra", | |
"BTG Pactual", | |
"Sicoob", | |
"Banco Votorantim", | |
"Sicredi", | |
"Banrisul", | |
"Citibank", | |
"Banco do Nordeste", | |
"JP Morgan", | |
"HSBC", | |
"BNDES", | |
"CrediAmigo" | |
], | |
"Chile": [ | |
"Banco Santander-Chile", | |
"Banco del Estado de Chile (BancoEstado)", | |
"Banco de Chile-Edwards", | |
"Banco de Crédito e Inversiones (BCI)", | |
"Itaú Corpbanca", | |
"Banco Bilbao Vizcaya Argentaria Chile S.A. (BBVA Chile)", | |
"Scotiabank Chile", | |
"Banco BICE", | |
"Banco Security", | |
"Banco Consorcio", | |
"Banco Itaú", | |
"Banco Internacional", | |
"Banco Condell", | |
"Banco Falabella", | |
"Banco Ripley", | |
"HSBC Bank (Chile)", | |
"Fondo Esperanza" | |
], | |
"Colombia": [ | |
"Banco de Bogotá", | |
"Bancolombia", | |
"Banco Davivienda", | |
"Banco de Occident", | |
"BBVA Colombia", | |
"Banco GNB Sudameris", | |
"Banco Popular Colombia", | |
"Citibank Colombia", | |
"Scotiabank Colombia", | |
"Sempli", | |
"Banco Agrario", | |
"Banco Mundo Mujer", | |
"Banco W", | |
"Bancamía", | |
"Coomultrasan" | |
], | |
"Republica Dominicana": [ | |
"Banreservas", | |
"Banco Popular Dominicano", | |
"BHD León", | |
"Scotiabank", | |
"Banco del Progreso", | |
"Banco Santa Cruz", | |
"Citibank", | |
"Banco Ademi", | |
"Banesco", | |
"Banco Caribe", | |
"Banco BDI", | |
"Banco Vimenca", | |
"Banco Union", | |
"Banco ADOPEM" | |
], | |
"Mexico": [ | |
"BBVA Bancomer", | |
"Banorte e Interacciones", | |
"Banamex", | |
"Santander", | |
"Scotiabank", | |
"HSBC", | |
"Inbursa", | |
"Banco del Bajio", | |
"Afirme", | |
"Banco Azteca", | |
"Bancomext", | |
"Deutsche Bank Mexico", | |
"Compartamos Banco" | |
], | |
"Peru": [ | |
"BCP (Banco de Crédito del Perú)", | |
"BBVA Banco Continental", | |
"MiBanco", | |
"Pichincha", | |
"Interbank", | |
"Caja Municipal Arequipa", | |
"Caja Municipal Cusco", | |
"Caja Municipal Huancayo", | |
"Caja Municipal Ica", | |
"Caja Municipal Maynas", | |
"Caja Municipal Piura", | |
"Caja Municipal Sullana", | |
"Caja Municipal Tacna", | |
"Caja Municipal Trujillo", | |
"Caja Raiz", | |
"Caja Los Andes", | |
"Financiera Compartamos", | |
"Financiera Confianza", | |
"Financiera Credinka", | |
"Financiera Crediscotia", | |
"Financiera Efectiva", | |
"Financiera Proempresa", | |
"Edpyme Alternativa", | |
"Edpyme Santander Consumer" | |
]}; | |
var country = "${q://QID109/ChoiceGroup/SelectedChoices}" | |
jQuery('.InputText').autocomplete({ | |
source:bankDict[country] | |
}) | |
}); | |
Qualtrics.SurveyEngine.addOnUnload(function() | |
{ | |
/*Place your JavaScript here to run when the page is unloaded*/ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment