Welcome to the LimeSurvey Community Forum

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

deactivate asterisk

More
6 years 2 weeks ago #187804 by bulgin
Replied by bulgin on topic deactivate asterisk
Thank you @joffm you are a lifesaver and a HUGE asset to LimeSurvey. Couldn't have progressed without your kind assitance.

As for my accidental deletion of the /tmp folder - I had a backup from several days ago and re-installed.

All is good now!

Enjoy your sailing and boat activities!
The topic has been locked.
More
5 years 2 months ago - 5 years 2 months ago #200885 by asilbering
Replied by asilbering on topic deactivate asterisk
Hi all,

is it possible to remove the asterisk in only one question ?

And while we are at it, how can remove the question-title-container of a multiple choice question?

(for context: I need to split a multiple choice question that has too many subquestions and I would like to remove the asterisk and the space normally used by the question title).

Thanks in advance!

Best regards,
Ana
Last edit: 5 years 2 months ago by asilbering.
The topic has been locked.
More
5 years 2 months ago - 5 years 2 months ago #200889 by Joffm
Replied by Joffm on topic deactivate asterisk
Hi, Ana,

I fear you want to display these questions as usual on one page.
So you may set a css class of "no-asterisk" on this question
and in your custom.css add
Code:
.no-asterisk  .asterisk { display:none; }



And for the title-container:
You have to hide the "question-title-container" and the "questionvalidcontainer" (no mistake, once with hyphens, once without)

So again use the css class and add to the custom.css
Code:
.no-asterisk .question-title-container, .no-asterisk .questionvalidcontainer {
    display: none;
}



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 2 months ago by Joffm.
The topic has been locked.
More
5 years 2 months ago #200934 by tpartner
Replied by tpartner on topic deactivate asterisk
Denis' skelvanilla theme has styles to make two questions appear as one.

- extensions.sondages.pro/themes-and-templ...b-group-inside-group

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
5 years 2 months ago - 5 years 2 months ago #200941 by asilbering
Replied by asilbering on topic deactivate asterisk
Thanks Joffm and Tony!

For now I am going with Joffm's workaround, I will study Denis' theme with more time later.
Have a nice day!
Last edit: 5 years 2 months ago by asilbering.
The topic has been locked.
More
5 years 2 months ago - 5 years 2 months ago #200948 by Joffm
Replied by Joffm on topic deactivate asterisk
Hi, Ana,
regarding the skelvanilla theme.
It is really powerful.

But unfortunately I was not able to get this part working.


And there is this remark in the documentation
extensions.sondages.pro/themes-and-templ...y/documentation.html

Sub-group inside group

SkelVanilla add some helper to create sub group of question. Usage of this system is powerfull but can be difficult.

Seems to be a bit difficult, indeed.

So, please, if you are successful, share your result.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 2 months ago by Joffm.
The topic has been locked.
More
5 years 2 months ago #200953 by asilbering
Replied by asilbering on topic deactivate asterisk
Hi!
Will do!
I tried a bit and if you use the base option and remove all wrappers you get close to what I need (but I didn't try the subgroup option, so I would still need to use css to remove the question title container and asterisk I think). But then the survey looks a bit "unstructured" because there is no more separation between questions at all.

For now I will stick to your method because I don't want to change the theme of my survey.

Thanks!
Ana
The topic has been locked.
More
5 years 2 months ago #200962 by asilbering
Replied by asilbering on topic deactivate asterisk
Hi again,

my question regarding the removal of the asterisk was related to another issue I have with the response delay of the survey when having to deal with too many subquestions and with subquestion relevance and a filtered array (see my thread here ).

In order to remove the delay I had to split my first question into 5 different questions (see attached survey) and move the filtered array question to a new group/page.

Now the problem is that in order for the survey to work I need to remove the mandatory status for all 5 questions on the first page because otherwise if a user does not chose one option of each question then he/she will not be able to move on to the next page. But I need to make sure that they chose at least one option.

Would the subgroup option in Denis' theme help me with this? Do you have any other ideas on how to work around this problem?

Of course ideally I would also like to remove the individual question wrappers and create a new wrapper that includes all of them, but this is just a question of aesthetics...

Also, the filtered array takes ages to display properly, but I guess there is not much that can be done about that right ? (I have tested in safari and firefox)

Thanks a lot for your precious help!
Best regards,
Ana
The topic has been locked.
More
5 years 2 months ago #200966 by Joffm
Replied by Joffm on topic deactivate asterisk
Hi, Ana

what do you expect to win by splitting the SSP question?
As I said before, this question works fine, if the nivSSP is on a different page.

You see, the problem with both on one page is:
You click a SSP - the filter has to work to show this item in invSSP.
You click a second SSP - the filter has to do the same entire work again, and so on.

So it is obvious that answering SSP is very cumbersome. But not because of SSP but because of the filter that is triggered each time.
And you realized that this is the bottleneck. The time to display nivSSP correctly takes a lot of time.
Here you should start to find improvements.
Maybe you could try to split this array according to your 4 groups in SSP.

I will try and come back.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
5 years 2 months ago #200967 by asilbering
Replied by asilbering on topic deactivate asterisk
Hi Joffm,

I actually tested the survey without splitting and it still has some delay, even if I have the nivSSP question on the next page. I am expecting very "sensitive" users that will not have the patience to wait for 3 seconds every time they click on a header.

Would you have any suggestions to split the filtered array in a reasonable way?

I have made some progress with skelvanilla (see attached survey). But there is still some space between the questions, and for some reason the help now moved to the top of a question.

Thanks a lot for your feedback!

Ana
The topic has been locked.
More
5 years 2 months ago #201015 by Joffm
Replied by Joffm on topic deactivate asterisk
Hi, Ana,

here is an example how I would do it.
I splitted the nivSSP-question into several parts according to the main categories.

Like this:




I used subquestion relevance to display the subquestions.

This is much better.
Of course you may split more, e.g.
"2. Specific complaints and symptoms" into 2.1 - 2.4. and 2.5. - 2.9
So you have 48 and 49 subquestions instead of 97.

I used this special way to code to ease the relevance equation.
Now it's only
count(that.sq_A1.NAOK)>0
count(that.sq_A2.NAOK)>0
...

If you split the second main category, this equation have to be
count(that.sq_A21.NAOK,that.sq_A22.NAOK,that.sq_A23.NAOK,that.sq_A24.NAOK)>0
count(that.sq_A25.NAOK,that.sq_A26.NAOK,that.sq_A27.NAOK,that.sq_A28.NAOK,that.sq_A29.NAOK)>0

As I used EXCEL to quickly create the codes, the items and the subquestion relevance condition, you may change the text of the symptoms.

Furthermore here is a nice way to display your 2-level SSP question.
It automatically removes checks in subcategories if the main category is unchecked.





And here the sample file

File Attachment:

File Name: limesurvey...1647.lss
File Size:295.75 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: asilbering
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose