Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : List with Comment Text

List with Comment Text il y a 1 an 4 mois #93122

  • Nem3s1S
  • Portrait de Nem3s1S
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Looking to where I can change the text for a "List with Comment" question type. The text I want to change is the "Please enter your comment here" of this question type and even perhaps the size of the box. I've looked through the template and CSS files and cannot locate where this is. I have previously searched forums and other place online and have come up with nothing. Can anyone help? I've added an attachment of the question type for visual inspection.

Limesurvey version 1.92+ Build 120501

Thanks,

Nem3s1S
Capture.PNG
L'administrateur a désactivé l'accès en écriture pour le public.

List with Comment Text il y a 1 an 4 mois #93123

  • holch
  • Portrait de holch
  • Hors ligne
  • LimeSurvey Team
  • Messages : 2549
  • Remerciements reçus 285
  • Karma: 102
The size can definitely be changed via the template css. You'll need to search for the id of this textbox and you can directly use CSS on it (if only this box should be changed, otherwise you'll need to go for the class).

The text should be part of the translation files.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
L'administrateur a désactivé l'accès en écriture pour le public.

List with Comment Text il y a 1 an 4 mois #93126

  • Nem3s1S
  • Portrait de Nem3s1S
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Thanks for the fast reply. I have adjusted height in the CSS. I have located where you can edit the text. I originally tried editing the translation file "en.po"; however, that did not accept the change. Found out that you need to edit qanada.php file. Only issues is this is a Global file. Is there a way i can make a copy of this qanda.php file, rename it to let's say qanada2.php and have my particular survey call that instead? Reason I ask is we run multiple surveys and my fear is that I will soon forget this change I made.

Nem
L'administrateur a désactivé l'accès en écriture pour le public.

List with Comment Text il y a 1 an 4 mois #93130

  • holch
  • Portrait de holch
  • Hors ligne
  • LimeSurvey Team
  • Messages : 2549
  • Remerciements reçus 285
  • Karma: 102
If this is not part of the PO file (which I just can't believe) there is not much you can do. Did you create a different language and applied this to your survey? Maybe this works. Type "MyVerySpecialEnglish".
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
L'administrateur a désactivé l'accès en écriture pour le public.

List with Comment Text il y a 1 an 4 mois #93218

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4049
  • Remerciements reçus 739
  • Karma: 341
If you want to change that label for all list-with-comment questions, add this to the end of template.js:
$(document).ready(function(){
	$('.list-with-comment p.comment label').text('Your new label text here!');
});
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.148 secondes
Donation Image