Welcome to the LimeSurvey Community Forum

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

how to hide the "*" for mandatory questions

  • Luissa
  • Luissa's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #240896 by Luissa
Hello together,

i would really appreciate your help with a design question. I have a task description in my survey where participants should check a box at the end to make sure they have read the task. Since I only want participants to go to the next page if they check the box, I have marked the question as a mandatory question. However, as a result, there is now a "*" at the beginning of the task description, which looks a bit irritating. Is there any way to hide this "*"?

Thank you in advance & kind regards, Luissa

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago #240897 by Joffm
Here you find the answer

[url] www.limesurvey.org/manual/General_FAQ/en [/url]

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Luissa
  • Luissa's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #240898 by Luissa
Replied by Luissa on topic how to hide the "*" for mandatory questions
Hey Joffm,

thank you very much for the quick reply. I 've just read it. But unfortunately I have one more question which I don't fully understand. Can you tell me if I do I only delete the asterisk for one mandatory question and not for all mandatory questions with this approach ? For the other questions, the star should remain.

Kind regards
Luissa

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago #240899 by Joffm
To hide it generally it's the best to add the css to the "custom.css" of your extended theme.

If you insert it into the question text it only affects the objects on the actual page.

But these are questions you should try by yourself.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Luissa
  • Luissa's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #240900 by Luissa
Replied by Luissa on topic how to hide the "*" for mandatory questions
Thanks again! But I think I can't change custom.css because I lack permission because I have a uni version. Is there a way to hide the "*" for a specific page without this permission?

Luissa

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago - 1 year 9 months ago #240901 by holch

which looks a bit irritating


This is basically a standard with questionnaires to have the * indicating mandatory questions. I don't think it will "irritate" anyone.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 1 year 9 months ago by holch.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 9 months ago #240902 by holch
To do it for one question only you insert the CSS into the the question.

Something like this:
Code:
<style>
       .asterisk {display: none;}
   </style>

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 8 months ago #240904 by DenisChenu
Replied by DenisChenu on topic how to hide the "*" for mandatory questions
Best solution in this case,

in custom.css.hide-mandatory-asterisk .asterisk {display: none;}And in CSS Class setting of the needed question : hide-mandatory-asterisk

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Luissa
  • Luissa's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago - 1 year 8 months ago #240922 by Luissa
Replied by Luissa on topic how to hide the "*" for mandatory questions
Hey I tried to insert this code into the question but unfortunately nothing changed. May you tell me where exactly I should put it, to make sure that I did it correctly? 

Thanks, Luisa
Last edit: 1 year 8 months ago by Luissa.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 8 months ago #240924 by DenisChenu
Replied by DenisChenu on topic how to hide the "*" for mandatory questions
What code exactly ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Luissa
  • Luissa's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #240925 by Luissa
Replied by Luissa on topic how to hide the "*" for mandatory questions
This code:

<style>
.asterisk {display: none;}
</style>

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #240926 by Joffm
Did you insert it in source code mode?
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose