To change the active language of my survey when the language is selected in the list without having to click on "change language" I edited the 'language_changer.twig' template and added 'onchange' : "this.form.submit()", to the language changer options:
Code:
{% set htmlOptions = {
'class' : 'form-control',
'data-bs-targeturl' : aLCD.targetUrl,
'onchange' : "this.form.submit()",
}
%}
<!-- Language Changer -->
Just thought others might be interested.
B.
Last edit: 6 years 11 months ago by bebs. Reason: typo
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.