Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Search Results (Searched for: template)

  • Joffm
  • Joffm's Avatar
Today 18:42
Replied by Joffm on topic Legal Notice in Impressum umbenennen

Dies funktioniert natürlich nur so, wenn der Survey nur auf Deutsch ist. Bei Mehrsprachigen Surveys müsste man das Label entsprechend der Surveysprache anpassen.

Du kannst ja in der twig entsprechend der Sprache eine Verzweigung machen
ähnlich wie hier
[url] forums.limesurvey.org/forum/can-i-do-thi...uage?start=24#168083 [/url]
 
  • BBSR-SR5
  • BBSR-SR5's Avatar
Today 14:24
Replied by BBSR-SR5 on topic Legal Notice in Impressum umbenennen

Ja, ein Bug Report wäre hier sicher angebracht, damit man das zukünftig aus den Übersetzungsdateien laden kann.

Bitte den Link zum Ticket im Bugtracker im Anschluss hier posten.
Ich habe ein Ticket angelegt: bugs.limesurvey.org/view.php?id=19524
Es ist mein erstes, ich hoffe ich habe nicht zu viel Quatsch reingeschrieben :)

Ansonsten habe ich noch folgenden Workaround gefunden.

Man kann ein Custom Template erstellen und dann im custom.js folgenden Code ergänzen:
Code:
$("#legalnotice-label").text("Impressum");
Dies ersetzt den Titel im Popup Fenster, wenn man auf "Legal Notice"/Impressum klickt. Dies funktioniert natürlich nur so, wenn der Survey nur auf Deutsch ist. Bei Mehrsprachigen Surveys müsste man das Label entsprechend der Surveysprache anpassen.

Um den Text im Footer zum Abruf des Impressums umzubenennen, habe ich dies im footer.twig angepasst:
Code:
{% if aSurveyInfo.oSurvey.showlegalnoticebutton == 1 or aSurveyInfo.sShowGlobalLegalNoticeButton == '1' %}
                    <a data-bs-toggle="modal" data-bs-target="#legalnotice-modal">
                        Impressum{#{{ gT('Legal notice') }} #}
                    </a>
                {% endif %}
Ich habe hier einfach den Code, durch den eigentlich die lokalisierte Version von "Legal Notice" eingefügt werden sollte durch ein gehardcodetes "Impressum" ersetzt. Entsprechend funktioniert dies ebenfalls nur wenn der Survey nur in Deutsch ist.
  • frnchu
  • frnchu's Avatar
Today 12:31
Hide number from a single question was created by frnchu
Hello, I'm here again with another survey.

I have a problem. My questions are numbered but I want one, in particular, not to show its number (it is an explanatory text and not a question as such), so I want this question not to show its number. All the others do. How could I do it?
Thank you.


LimeSurvey Community Edition
Versión 5.6.31+230718
Survey theme/template: Fruity

==================
 
  • rajkumar_dms
  • rajkumar_dms's Avatar
Today 11:49
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5
Own server or LimeSurvey hosting:Clould
Survey theme/template:
==================
Hello Team,
We are the great!
I would like the Rotation in radio bottom & check box type question with some codes are not be part of rotation and that code will placed in their original place
For Example i had Q1 having option 1 to 9 then i would like to Rotate the option but code 2,5,8 would not be rotate and these code are to be shown their respectively position
  • BBSR-SR5
  • BBSR-SR5's Avatar
Today 09:32
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 6.5.3
Own server or LimeSurvey hosting: LimeSurvey Cloud
Survey theme/template: Customised Fruity_23 Blueberry
==================
Hello everyone,

I'm using the "soft force" option in a few questions. But when I try to finish the survey, it jumps back to the first question with unanswered options and soft force active. How do I disable this feature?

I want to either send the survvey or have a popup that gives the user the option to send the survey or jump to the first question with unanswered options.

How do I do this?
  • cgaudichet
  • cgaudichet's Avatar
Yesterday 14:40
Incrémenter des groupes de question ? was created by cgaudichet
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.6.57+240312
Own server or LimeSurvey hosting: univ-rennes
Survey theme/template: bootswatch

==================
Bonjour la communauté,
Je voudrais si possible créer des fiches (=groupe de questions) que l'enquêté remplirai.
Le nombre de fiche à compléter/éditer dépend d'une question (Q) dans un groupe de question (GQ) précédent : GQ01_Q01 "Combien de sites ... ? # réponse n
Peux-t-on automatiser le nombre de groupes de questions suivants en fonction de la réponse? # GQ02 "Site1" puis GQ03 "Site2" etc ... jusqu'à GQn+1
Puis reprendre le questionnaire ensuite à GQn+2
Cordialement,
Corentin
  • DeWeerdtSteven
  • DeWeerdtSteven's Avatar
Yesterday 09:20
Problem with array and equations was created by DeWeerdtSteven
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.2.11+231007 
Own server or LimeSurvey hosting: own server
Survey theme/template:
==================
I created a servay with an array and I would like the default answer to be the option selected with the equation at the start.
I have managed to use an equation and it shows the correct results. I can't figure out how to show the result of the equation in the array. So the result of the equation is the selected item.
https://photos.app.goo.gl/QnErGQjgCBUNvJ8JA 
first two equations give the desired result but the array remains empty
 
when selecting other values in array equation is updated.
Can someone point me in the right direction?
  • ericmangez
  • ericmangez's Avatar
17 Apr 2024 22:11
condition was created by ericmangez
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.6.58+240403
Own server or LimeSurvey hosting: UCLouvain
Survey theme/template:
==================
I access Limesurvey through my university. I am professor of sociology at UCLouvain, Belgium. I have a very basic problem. I just want to include a simple condition in a question. I want (bootstrap) question G01Q22 to be displayed only if the answer to (bootstrap) question G01Q21 (which comes just before) is "versqa". I wrote the following condition in the parameters of G01Q22:
G01Q21== ' versqa'
The condition seems correctly written. The question codes are correct. The answer is correctly typed... I checked a thousand times. I verified every single detail. I have read the instructions over and over again. And I cannot seem to find what's wrong. Could you please help me?
  • tpartner
  • tpartner's Avatar
17 Apr 2024 19:15 - 17 Apr 2024 19:18
Replied by tpartner on topic Adjust the text for 'expired survey' screen
Something like this in layout_errors.twig:

Code:
{# We register a specific css file for that layout. #}
{{ registerTemplateCssFile('css/errors.css') }}
{% set aError     = aSurveyInfo.aError    %}
 
 
{##### CUSTOM ERRORS ####}
{% set customErrorTitle = aError.title %}
{% set customErrorMessage = aError.message %}
{% if aError.type == "survey-expiry" %}
    {% set customErrorTitle = '<p class=" text-danger inherit-sizes" role="alert">CUSTOM TITLE</p>' %}
    {% set customErrorMessage = '<p>Custom error message for expired survey!</p>' %}
{% endif %}
 
<!DOCTYPE html>
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}"
        class="{{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} {{ aSurveyInfo.class.html }}" {{ aSurveyInfo.attr.html }}
        xmlns="http://www.w3.org/1999/html">
 
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
 
        <title>
            {% if aError.error %}
                {{ aError.error }}
            {% else %}
                Error {{ aSurveyInfo.surveyls_title }}
            {% endif %}
        </title>
 
        <meta name="generator" content="LimeSurvey http://www.limesurvey.org"/>
        {% if(imageSrc('./files/favicon.ico')) %}
            <link rel="shortcut icon" href="{{ imageSrc('./files/favicon.ico') }}"/>
        {% endif %}
    </head>
 
    <body class="{{ aSurveyInfo.class.body }} lang-{{ aSurveyInfo.languagecode }} {{ surveyformat }}" marginwidth="0"
          marginheight="0" {{ aSurveyInfo.attr.body }}>
    <div class="container">
        <div id="error-card" class="card w-75 mt-6 mb-0 mx-auto">
            <div class="card-body">
                <h2 class="card-title">
                    {% if aError.error %}
                        {{ aError.error }}
                    {% endif %}
                    {{ customErrorTitle }}
                </h2>
                <hr>
                <div class="card-text">{{ customErrorMessage }}</div>
                {% if aError.contact %}
                    {{ aError.contact }}
                {% else %}
                    {{ gT("For further information please contact %s:")|format (aSurveyInfo.admin) }}
                    {% if aSurveyInfo.adminemail %}
                        <br>
                        <a class="card-link" href='mailto:{{ aSurveyInfo.adminemail }}'>{{ aSurveyInfo.adminemail }}</a>
                    {% endif %}
                {% endif %}
                {% if aError.trace is not empty %}
                    <pre>
                            {{ aError.trace }}
                    </pre>
                {% endif %}
            </div>
 
        </div>
    </div>
    {% block footer %}
        {{ include('./subviews/footer/footer.twig') }}
    {% endblock %}
</body>
</html>


 
  • lux
  • lux's Avatar
17 Apr 2024 16:43
EMPTY RESPONSE was created by lux
Please help us help you and fill where relevant:
Your LimeSurvey version:  6.5.3
Own server or LimeSurvey hosting: on lime survey website
Survey theme/template: fruity_twentythree
==================
Je travaille avec une API que j'ai creer charger d'utiliser limesurvey dans l'une de mes applications. L'utilisateur repond dans l'application et les réponses sont envoyés à Limesurvey. Tout se passer bien et dans les logs les données sont bien la. les réponses sont bien enrégistré sur limesurvey mais le seul HIC c'est qu'elles sont vide . Elles sont un ID et tout mais elles sont vide . J'ai tout testé et je crois que cela ne provient pas de mon API
  • OliverKuhl
  • OliverKuhl's Avatar
17 Apr 2024 16:16 - 17 Apr 2024 16:17
Your LimeSurvey version: 6.5.2
Own server or LimeSurvey hosting: own server
Survey theme/template: extended template fruitytwentythree
==================

When a user goes to my domain, let's say example.com I want the welcome screen of a specific survey to be shown and skip the usual survey-list. Is this possible with lime survey directly?

Otherwise I would try to do it with a .htaccess rewrite rule:
Code:
RewriteEngine On
# Ensure the mod_rewrite module is turned on in Apache

RewriteCond %{REQUEST_URI} ^/$
# Applies the rule only if the request URI is the root

RewriteRule ^$ /index.php/survey/index/sid/{SURVEY_ID} [R=302,L]
# Redirects from the root to the survey


Any opinions? Thanks in advance!

Best regards
Oliver
  • evhenii_access
  • evhenii_access's Avatar
17 Apr 2024 16:04
Adjust the text for 'expired survey' screen was created by evhenii_access
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud Version 6.5.3  
Own server or LimeSurvey hosting:  LimeSurvey hosting
Survey theme/template: Bootswatch
==================
 Hi, I’m looking for ways to customize the text to be shown to participants after the survey is expired. Could you please help me to identify the screen / screen part file in the Theme Editor where this text is located.
  • Md2222
  • Md2222's Avatar
16 Apr 2024 20:06
Generate protocol number was created by Md2222
Hello good afternoon everyone
How can I generate a protocol number at the end of the questionnaire? I would like to provide the respondent's ID as a protocol number. Thank you all


Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)
  • jdccr
  • jdccr's Avatar
16 Apr 2024 18:16
Error activating survey was created by jdccr
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)We have a survey that cannot be activated in version 6.5.2. The error is the following:

SQL: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or are not allowed. Change the alias to a valid name.


Please help us help you and fill where relevant:

Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)
  • brais24
  • brais24's Avatar
16 Apr 2024 17:55
Prefill radio list was created by brais24
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.49
Own server or LimeSurvey hosting: Own
Survey theme/template: Vanilla
==================
Hi there, im trying to do something i think its easy, what i want is on my radio list, prefill one option or another based on a previos question, i attach the lss file.
 

File Attachment:

File Name: limesurvey...7995.lss
File Size:61 KB


And an image
 

I be able to do what i want with the multiple choice, but not in radio question, i need to have selected the option "Si" if on the first row of the first question you have as default value "Si", and Select "No" if you have "No" on the first row of the first question.

I use an ecuation question that you can see on the lss, can anyone help me to get this done? Thanks for the help.

Note: the first question is also prefilled with the attributes of the participants.
 
Displaying 1 - 15 out of 1234 results.

Lime-years ahead

Online-surveys for every purse and purpose