Welcome, Guest
Username: Password: Remember me

TOPIC: How to change equation name?

How to change equation name? 3 months 2 weeks ago #103018

  • pawelzmuda
  • pawelzmuda's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello.

I'm new here and I really new help. I want to use equation so I choose it,
in text description I wrote {sr_ocen_1.value * 4} (I wanted to multiply my variable by 4).
Then I tested my survey and finaly I got it.
But the name of this equation was {sr_ocen_1.value * 4} - and then the value (on the response preview in admin panel). How can I change in the response preview the name of equation?

Przechwytywanie.PNG


Sorry for my bad english - I hope that you catch what I am saying.
The administrator has disabled public write access.

How to change equation name? 3 months 2 weeks ago #103020

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
Unfortunately, as far as I know, there is no way to change that.
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.
The administrator has disabled public write access.

How to change equation name? 3 months 2 weeks ago #103067

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 84
  • Thank you received: 1
  • Karma: 0
What is the code of this question(result)?

If the code is abcd, then you can add another new question xxxx and insert abcd in the questiontext using equation question.
The administrator has disabled public write access.

How to change equation name? 3 months 2 weeks ago #103069

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 933
  • Thank you received: 193
  • Karma: 62
Hi,

The following workaround is just a start to give you some idea to achieve what you need...

At the end of your admin_core.js file
(path: /scripts/admin/admin_core.js),
try to paste :
jQuery(document).ready(function() {
// $('td:contains("Old Label")').text("New label");
$('td:contains("*")').text("New label");
});

Remember that all your surveys with "*" in the question code will be affected (but you can change easily this selector), and that admin_core.js file may be changed during some software update...
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.162 seconds
Donation Image