- Posts: 24
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Submit button not appearing at the end of a survey with many questions
- Sabowano_16007
- Topic Author
- Offline
- Banned
Less
More
8 years 8 months ago #122263
by Sabowano_16007
Submit button not appearing at the end of a survey with many questions was created by Sabowano_16007
I have a survey which gathers information on student courses. There are 248 questions in total. These are divided into 20 groups based on their year of enrolment, using a relevance equation. If student selects 2011 and Computing, they see that group of questions only. The survey is working - it took a very long time to do as I had to put every subject choice into the data. However, the button to submit never shows up. At the end of the survey, there is still a Next button. Any ideas much appreciated. The link:
e-learn.acu.edu.au/newsurveys/index.php/936295/lang-en
e-learn.acu.edu.au/newsurveys/index.php/936295/lang-en
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 8 months ago - 8 years 8 months ago #122277
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 Submit button not appearing at the end of a survey with many questions
This is because of the existence of possible relevant groups.
If the respondents will only see two groups, I would...
1) Hide the progress bar with something like this in template.css:
2) Dynamically change the "Next" button text in the second group to "Submit". For example, if there will always be a multiple-short-text type question in group 2 but not in group 1, you could add something like this to the end of template.js:
If the respondents will only see two groups, I would...
1) Hide the progress bar with something like this in template.css:
Code:
#progress-wrapper { display: none; }
2) Dynamically change the "Next" button text in the second group to "Submit". For example, if there will always be a multiple-short-text type question in group 2 but not in group 1, you could add something like this to the end of template.js:
Code:
$(document).ready(function() { if($('.multiple-short-txt').length > 0) { $('#movenextbtn .ui-button-text').text('Submit'); } });
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 8 months ago by tpartner.
The topic has been locked.
- jsibley
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
8 years 1 month ago #130320
by jsibley
Replied by jsibley on topic Submit button not appearing at the end of a survey with many questions
As a feature request, could it be possible in a future release to have Limesurvey check whether it can tell from relevance equations whether a given page is the last relevant page to the survey and replace "next" with "submit"?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 1 month ago #130347
by DenisChenu
2nd problem : take a time to develop
Denis
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.
Replied by DenisChenu on topic Submit button not appearing at the end of a survey with many questions
1st problem : this take a lot of memory to evaluate relevance, then it can be included everywhere/everytime : need a settings.jsibley wrote: As a feature request, could it be possible in a future release to have Limesurvey check whether it can tell from relevance equations whether a given page is the last relevant page to the survey and replace "next" with "submit"?
2nd problem : take a time to develop
Denis
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.
The topic has been locked.