Welcome to the LimeSurvey Community Forum

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

answers already entered and cannot be modified by users online

  • sebastien28
  • sebastien28's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 2 weeks ago #265170 by sebastien28
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)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)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)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)

Hello everybody,

I set up a questionnaire with 2 groups of questions.

First group:
I take the known data and integrate it using the contact import with data {TOKEN:ATTRIBUTE_XX}

This question group must be visible to customers but the answers must not be editable (a bit like grayed out in read-only mode).

Second group (no worries on this one):
Users must respond.
Then the questionnaire is finished.

Do you have ideas and processes so that my wishes on the first group of questions can correspond to my needs?

I am attaching the questionnaire to you in join.

Thank you in advance for your feedback and tips.

Sébastien28

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 2 weeks ago #265174 by Joffm
Hi,
now our questions are four times in your post, but you did not answer it. Why?

I wonder, why you want to use a question of type "multiple short text".
You only want to display the values.
So I think it to be better to use a "text display"
Here with a table to display
 

But of course you can set the subquestions to "readonly" ( but why waste columns in the database without need).
Insert this script
Code:
<script type="text/javascript" charset="utf-8">
   $(document).ready(function() {
     $('input[ name="{SGQ}SQ001"]').prop('readonly', true);
     $('input[ name="{SGQ}SQ002"]').prop('readonly', true);
     $('input[ name="{SGQ}SQ005"]').prop('readonly', true);
     $('input[ name="{SGQ}SQ006"]').prop('readonly', true);
     $('input[ name="{SGQ}SQ007"]').prop('readonly', true);
   });  
</script>
 

Joffm


 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 2 weeks ago #265185 by DenisChenu
With text display : you can show input too
Code:
Value to show : <input type='text' class='form-control' readonly>{TOKEN:ATTRIBUTE_1}</input>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Joffm

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose