Welcome to the LimeSurvey Community Forum

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

Is possible to set as not editable LimeSurvey text fields?

More
4 months 19 hours ago #240123 by serbarbos
LimeSurvey version: Versión 2.72.5+171121
Own server
Survey theme/template: News paper
==================
Hello.
I need some help. I have a survey wich is set as a closed/token based survey. That survey has a participants table where every participant has a token. The survey has some text fields that are filled with the information that is present in the users table. What I want now is to set as not editable every text field that contains the information that is loaded from the participants table. That means that when I user logs in the table is not able to change the fields that are filled automatically. Is it possible to do that in Limesurvey. In that case how can I do that?

Please Log in to join the conversation.

More
4 months 18 hours ago #240130 by tpartner
You neglected to tell us what question type you are using but you may be able to use part of this solution.

- forums.limesurvey.org/forum/can-i-do-thi...ds-in-a-table#227346

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
4 months 17 hours ago #240132 by serbarbos
The question that I want to be non-editable is of type long free text.
Is there any way make this field non-editable whitout add code?.
I have an account in a LimeSurvey instance and only I have access to the interface. I think that is not possible to add code from the LimeSurvey interface. Please correct me if I am wrong, I am very new to LimeSurvey.

Please Log in to join the conversation.

More
4 months 16 hours ago #240134 by holch
Why don't you just present this information in a "text display" question, instead of a non editable text field? There is no reason to have it in a text field if it is non editable anyway.

You can still export this data together with the results later.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
4 months 15 hours ago #240153 by tpartner

I think that is not possible to add code from the LimeSurvey interface.

Of course you can add JavaScript if you have sufficient admin privileges.

- manual.limesurvey.org/Workarounds:_Manip...tc..29_in_LimeSurvey

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 months 4 weeks ago #240180 by serbarbos
Thank you so much both, tpartner and holch. Your suggestions helped me. 
Finally I decided to use the holch suggestion.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose