Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: List with Comment Text

List with Comment Text 1 Jahr 7 Monate her #93122

  • Nem3s1S
  • Nem3s1Ss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

List with Comment Text 1 Jahr 7 Monate her #93123

  • holch
  • holchs Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 2852
  • Dank erhalten: 360
  • Karma: 125
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

List with Comment Text 1 Jahr 7 Monate her #93126

  • Nem3s1S
  • Nem3s1Ss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

List with Comment Text 1 Jahr 7 Monate her #93130

  • holch
  • holchs Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 2852
  • Dank erhalten: 360
  • Karma: 125
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

List with Comment Text 1 Jahr 7 Monate her #93218

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4281
  • Dank erhalten: 807
  • Karma: 370
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

List with Comment Text 3 Wochen 3 Tage her #112971

  • AGK925
  • AGK925s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 5
  • Karma: 0
Is this method still relevant? I have tried the code and it does not appear to work for me, but perhaps I am doing something wrong. Thank you

Edit: I figured it out, this code can now be placed directly within the source code of the question.
Letzte Änderung: 3 Wochen 3 Tage her von AGK925.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.150 Sekunden
Donation Image