Welcome to the LimeSurvey Community Forum

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

How can I remove the text Survey in the survey form?

  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119500 by arunicbe
I am using Survey for data collection. I do not want to the buttons / texts showing word 'Survey'.

I want remove all the instances of text 'Survey' from the form.

Is this possible?
The topic has been locked.
More
8 years 10 months ago #119510 by Matadeleo
Find any instances where the word appears on the page, then find where that text is generated. For example to change the text of the 'Quit Survey' button, use Notepad++ and Ctrl+F (Find in Files for your installation folder) and search for "{NAVIGATOR}" and change the text where it is created.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119518 by tpartner
You can modify the translation files - manual.limesurvey.org/Translating_LimeSu...existing_translation

Or you can use JavaScript to dynamically modify the text strings. For example, adding this to template.js will modify the buttons in the navigator element:
Code:
$(document).ready(function() {
 
  // Replacement text string
  var replaceText = 'form';
 
  // Modify the load-all button
  if($('#loadallbtn .ui-button-text').length > 0) {
    $('#loadallbtn .ui-button-text').text($('#loadallbtn .ui-button-text').html().replace(/survey/, replaceText));
  }
  // Modify the clear-all button
  if($('#clearall .ui-button-text').length > 0) {
    $('#clearall .ui-button-text').text($('#clearall .ui-button-text').html().replace(/survey/, replaceText));
  }
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: arunicbe
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119543 by arunicbe
Hello tpartner,

Thanks for this.

I have a peculiar issue. Not related to this post. The html editor is not showing in the question creation / edit section. Also, the advance settings is not working.

Can you help?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119563 by tpartner
That sounds like a JavaScript error.

Are there any errors in the console?

What LS version and build?


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119567 by arunicbe
Version 2.05+ Build 150413

I checked with firebug console. There is no javascript errors / warnings.

Very strange.
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119568 by arunicbe

arunicbe wrote: Version 2.05+ Build 150413

I checked with firebug console. There is no javascript errors / warnings.

Very strange.


Please check the attached screenshot.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119571 by tpartner
I assume, in your personal settings, you have "HTML editor mode" set to "Default" or "Default".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119573 by arunicbe

tpartner wrote: I assume, in your personal settings, you have "HTML editor mode" set to "Default" or "Default".


You mean in global settings? It is set to inline html editor mode. The thing is it is displaying correctly in general text settings section.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119574 by tpartner
No, I meant in the personal settings - click on "admin" at the top.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119575 by arunicbe

tpartner wrote: No, I meant in the personal settings - click on "admin" at the top.


I changed that too. Still it is same. Struggling with this for last two days.
Attachments:
The topic has been locked.
  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 10 months ago #119594 by arunicbe

tpartner wrote: No, I meant in the personal settings - click on "admin" at the top.


Just to add:

It is not working even if I change the mode in personal settings.

I accidentally found that the advance setting section working on Safari. Not in other browsers. :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose