Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Change indication of required question [Citronade Template]

Change indication of required question [Citronade Template] 3 years 7 months ago #89490

  • bedsingar
  • bedsingar's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi,

I'm currently using the Citronade template which highlights required questions with a red asterisk "*". I'd like to change this to that it shows "* Required Question".

I can't see this in the CSS anywhere so I'm wondering if anybody can point me in the right direction?

Thanks
Last Edit: 3 years 7 months ago by bedsingar.
The administrator has disabled public write access.

Change indication of required question [Citronade Template] 3 years 7 months ago #89491

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Unfortunately, it's not in css or js of the template.

You can make your own translation file, translate * by 'This question is mandatory' to have it in HTML for accessibility.

You can do it in javascript, but it's not really accessible.
Something like that:
$('.asterisk:contains("*")').text("This question is mandatory");

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.179 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form