- Posts: 6
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Bootstrap buttons, relevance equation and piping/jumping
- SNiP
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago #178050
by SNiP
Bootstrap buttons, relevance equation and piping/jumping was created by SNiP
Hi,
I've prepared a survey (LS v. 3.0, SaaS) using Bootstrap buttons instead of radio-buttons. Jumping (hiding/showing questions) works fine with radio-buttons but not with Bootstrap buttons (fruity template). Does someone know how to use jumping with Bootstrap? Is it a bug or issue?
Many thanks in advance.
Grzegorz
I've prepared a survey (LS v. 3.0, SaaS) using Bootstrap buttons instead of radio-buttons. Jumping (hiding/showing questions) works fine with radio-buttons but not with Bootstrap buttons (fruity template). Does someone know how to use jumping with Bootstrap? Is it a bug or issue?
Many thanks in advance.
Grzegorz
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 4 months ago #178056
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Bootstrap buttons, relevance equation and piping/jumping
How did you implement the bootstrap buttons?
Can you attach a small sample survey (.lss file) containing only the relevant questions?
Can you attach a small sample survey (.lss file) containing only the relevant questions?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- SNiP
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 2
5 years 4 months ago #178083
by SNiP
Replied by SNiP on topic Bootstrap buttons, relevance equation and piping/jumping
Dear Tony,
thank you for your reply. I have attached a small sample containing two questions - one with radio and another with bootstrap buttons. In both cases, additional question should appear if the first answer is chosen. It doesn't work for bootstrap buttons, implemented using option "Bootstrap buttons" under "General options" --> "Question design".
Your further help will be very appreciated.
Best wishes,
Grzegorz
thank you for your reply. I have attached a small sample containing two questions - one with radio and another with bootstrap buttons. In both cases, additional question should appear if the first answer is chosen. It doesn't work for bootstrap buttons, implemented using option "Bootstrap buttons" under "General options" --> "Question design".
Your further help will be very appreciated.
Best wishes,
Grzegorz
tpartner wrote: How did you implement the bootstrap buttons?
Can you attach a small sample survey (.lss file) containing only the relevant questions?
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 4 months ago #178085
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Bootstrap buttons, relevance equation and piping/jumping
I can confirm that it's a bug. Please file a bug report and give a link here.
In the meantime, you can work around it by adding something like this to the end of your custom.js file:
In the meantime, you can work around it by adding something like this to the end of your custom.js file:
Code:
$(document).on('ready pjax:scriptcomplete',function() { $('.bootstrap-radio').on('change', function(e) { if($(this).is(':checked')) { checkconditions($(this).attr('value'), $(this).attr('name'), $(this).attr('type')); } }); });
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- SNiP
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 2
5 years 4 months ago #178092
by SNiP
Replied by SNiP on topic Bootstrap buttons, relevance equation and piping/jumping
Dear Tony,
thank you for your assistance. I will submit a bug report.
Best wishes
Grzegorz
thank you for your assistance. I will submit a bug report.
Best wishes
Grzegorz
The following user(s) said Thank You: DenisChenu
The topic has been locked.