How to change equation name?

More
3 years 6 months ago #103018 by pawelzmuda
pawelzmuda created the topic: How to change equation name?
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?



Sorry for my bad english - I hope that you catch what I am saying.
Attachments:

Please Log in to join the conversation.

More
3 years 6 months ago #103020 by tpartner
tpartner replied the topic: How to change equation name?
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.

Please Log in to join the conversation.

More
3 years 6 months ago #103067 by mrli999
mrli999 replied the topic: How to change equation name?
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.

Please Log in to join the conversation.

More
3 years 6 months ago #103069 by Ben_V
Ben_V replied the topic: How to change equation name?
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

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now