Welcome to the LimeSurvey Community Forum

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

Double asterisk on mandatory question

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241578 by povsam
LimeSurvey version 5.6.8.
LimeSurvey Cloud hosting
Using custom theme
==================
Hello,

we have the problem that our mandatory question displays two asterisks (see graphic below - it seems that the bigger asterisk is the additional one).
 

Therefore, we wanted to delete one of it but couln't find the file it seems to be located it ("asterisk.twig"). Is there a way to delete the unnecessary one?
 

Thank you in advance.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241579 by Joffm
Replied by Joffm on topic Double asterisk on mandatory question
Hi,
you use a customized theme.

No standard theme shows this issue (all tested in 5.6.8. cloud edition)
Neither "vanilla"
 
nor "fruity"
 
nor "bootswatch"
 
Even the preview in theme editor is fine
 

By the way: The file "asterisk.twig"  only contains this
Code:
<div class="asterisk pull-left">
  <sup class="text-danger fa fa-asterisk small" aria-hidden='true'></sup>
  <span class="sr-only text-danger">{{ gT("(This question is mandatory)") }}</span>
</div>

So, try in a standard theme!
And ask the one who developped this custom theme!

Joffm

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

Please Log in to join the conversation.

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241582 by povsam
Replied by povsam on topic Double asterisk on mandatory question
Thanks for your answer.

We already know that the other themes don't have any problems concerning asterisk. Our assumption was that someone inserted code to the "asterisk.twig", asuming that it wasn't included. But as we can't seem to find this file it is hard to check.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago - 1 year 1 month ago #241584 by Joffm
Replied by Joffm on topic Double asterisk on mandatory question
As this file is not published, this is not really probable.

You see the different size and the different vertical alignment.

Check with the webdevelopment tool of your browser to see.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 1 month ago by Joffm.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241586 by DenisChenu
Replied by DenisChenu on topic Double asterisk on mandatory question
The issue happen only for you,
You just show picture
We can not help you if you don't shown a real HTML link showing the issue.

 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241722 by povsam
Replied by povsam on topic Double asterisk on mandatory question
The person who created this theme is no longer part of our company. Our IT tried to help but they couldn't find anything.
Therefore, I exported the files from our custom design. I hope someone can help us fix this. 

File Attachment:

File Name: Theme.zip
File Size:164 KB

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago - 1 year 1 month ago #241723 by DenisChenu
Replied by DenisChenu on topic Double asterisk on mandatory question
Clearly : to fix a zip file theme i open a support system : support.sondages.pro/ or www.limesurvey.com/theme-design

Just give a link to a simple survey you have with this error. I mean : create a mandatory short text question survey , activate and put the link here.


 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 1 year 1 month ago by DenisChenu.

Please Log in to join the conversation.

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241725 by povsam
Replied by povsam on topic Double asterisk on mandatory question
Here an example survey:

ruebig.limesurvey.net/869177?lang=en

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241726 by DenisChenu
Replied by DenisChenu on topic Double asterisk on mandatory question
line 961 at your template.css remove
Code:
.asterisk:before {
    content: "\f069";
}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 weeks ago #241802 by povsam
Replied by povsam on topic Double asterisk on mandatory question
Thank you for your response.

We haven't found the mentioned code line within our template code - therefore, we checked our original uploaded template and found out that the "template.css" file is missing in the LimeSurvey upload version.

We will try to fix it in the local version and upload it again - maybe this will solve the problem.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 4 weeks ago #241806 by DenisChenu
Replied by DenisChenu on topic Double asterisk on mandatory question
view-source:https://ruebig.limesurvey.net/869177?lang=en
 

view-source:https://ruebig.limesurvey.net/tmp/assets/c19d8c9/css/template.css
 

Did you try to reset assets (in global settings)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • povsam
  • povsam's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 2 weeks ago #243304 by povsam
Replied by povsam on topic Double asterisk on mandatory question
We have solved the problem:

The concerning file was only included in the old backup file - not the file online. We changed the line you recommended and reuploaded it. Now it is working with this new version.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose