How do i change the text on certain field labels?

More
5 years 9 months ago #75180 by eadamuk
eadamuk created the topic: How do i change the text on certain field labels?
Hi All,

How do I change the text on certain field labels? For example on an File Upload field, I would rather it say "Click here to Upload Resume" rather than "Upload Files" as it does by default.

Also - a more adventurous change, is there a way I can replace the standard naming for 'survey" for 'application' so when I offer save capabilities, its "Save Application" rather than "Save Survey" like it is today?

Is it possible to change these on a per survey basis, or if I change it for one, it will reflect for all the survey's in the system.

Thanks,
Adam

Please Log in to join the conversation.

More
5 years 9 months ago - 5 years 9 months ago #75199 by DenisChenu
DenisChenu replied the topic: How do i change the text on certain field labels?
Hello,

You can use your own translation , but your modification disappear after update.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 5 years 9 months ago by DenisChenu.

Please Log in to join the conversation.

More
5 years 9 months ago #75230 by tpartner
tpartner replied the topic: How do i change the text on certain field labels?
Some elements can be changed in your template.js file. Those changes would apply to all surveys using that template.

For example, add the following to the end of template.js.
$(document).ready(function() { 
	$('a.upload').text('Click here to Upload Resume');
});

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: anisij

Please Log in to join the conversation.

More
1 month 2 weeks ago #160004 by anisij
anisij replied the topic: How do i change the text on certain field labels?
Dear All,

Kindly, I want to change the text of "Return to survey" (after user click on "Upload files/Click here to Upload Resume")
what is the variable name to add in "$(document).ready(function()"

Thank you for your help.

Best regards,
Anis

Please Log in to join the conversation.

More
1 month 2 weeks ago #160007 by tpartner
tpartner replied the topic: How do i change the text on certain field labels?
I don't see that text anywhere. What LimeSurvey version are you using and can you provided a screenshot?

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
1 month 2 weeks ago #160017 by anisij
anisij replied the topic: How do i change the text on certain field labels?
Dear Tony,

We are using Version 2.05+ with limespired template.

kindly check the screenshot for more details.

Thank you.

Best regards,
Anis
Attachments:

Please Log in to join the conversation.

More
1 month 2 weeks ago #160051 by tpartner
tpartner replied the topic: How do i change the text on certain field labels?
Unfortunately, in that version, there are no specific selectors to target with jQuery. All I can suggest is that you modify the translation file.

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.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!