- Posts: 21
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Auto-submit on last question and do not display end page/message
- Robert1973
- Topic Author
- Offline
- Junior Member
Less
More
4 years 4 months ago #192397
by Robert1973
Auto-submit on last question and do not display end page/message was created by Robert1973
Hi!
I have a survey with questions on the end doing calculations and representing data for the user.
People sometimes forget to hit the submit button, so nothing gets emailed.
After the last question I want to auto-submit, and not displaying the end message because the new page will wipe the content of the screen.
For auto-submit, I found this :
$('#movenextbtn, #movesubmitbtn').trigger('click');
How can I prevent the end message being displayed, leaving the data on the screen in-tact?
Thanks in advance! Greetings Robert
(Limesurvey Version 2.50+ Build 160219)
I have a survey with questions on the end doing calculations and representing data for the user.
People sometimes forget to hit the submit button, so nothing gets emailed.
After the last question I want to auto-submit, and not displaying the end message because the new page will wipe the content of the screen.
For auto-submit, I found this :
$('#movenextbtn, #movesubmitbtn').trigger('click');
How can I prevent the end message being displayed, leaving the data on the screen in-tact?
Thanks in advance! Greetings Robert
(Limesurvey Version 2.50+ Build 160219)
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
4 years 4 months ago #192400
by Joffm
You don't get the default end message if you use your own end message.
Or do you like to submit the data but not leave the last page of the questionnaire?
Why?
In that case you should display your calculations and the display for the user on the end message page.
Joffm
By the way:
Your used version is the very first release of that branch 2.50-2.73. So you really should consider an update.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Auto-submit on last question and do not display end page/message
What do you mean by that?How can I prevent the end message being displayed, leaving the data on the screen in-tact?
You don't get the default end message if you use your own end message.
Or do you like to submit the data but not leave the last page of the questionnaire?
Why?
In that case you should display your calculations and the display for the user on the end message page.
Joffm
By the way:
Your used version is the very first release of that branch 2.50-2.73. So you really should consider an update.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Robert1973
The topic has been locked.
- Robert1973
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 4 months ago #192409
by Robert1973
Replied by Robert1973 on topic Auto-submit on last question and do not display end page/message
Sorry for the confusion!
Thanks,
Robert
This is correct!Or do you like to submit the data but not leave the last page of the questionnaire?
People sometimes forget to hit the submit (verzenden) button on the final page containing the calculations, which prevents the admin email being sent. We want that email.Why?
I'm afraid I'm not following the part in bold. Can you please rephrase that?In that case you should display your calculations and the display for the user on the end message page.
You are totally right. I'm afraid I might damage the custom stuff I build.Your used version is the very first release of that branch 2.50-2.73. So you really should consider an update.
Thanks,
Robert
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
4 years 4 months ago #192412
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 Auto-submit on last question and do not display end page/message
You cannot submit the survey and leave the last question group in place.
If the survey is submitted either the end message must appear or you can redirect to another URL.
I suggest you modify the end message.
If the survey is submitted either the end message must appear or you can redirect to another URL.
I suggest you modify the end message.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Robert1973
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
4 years 4 months ago #192415
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Auto-submit on last question and do not display end page/message
Hi,
you wrote
And I wrote: Display your calculations on the end message page. So there is no "final page" with your calculations inside the questionnaire.
This way he will be able to read the calculated results on the end message page.
I admit, if a respondent reads a text display page with some results he may think "Ok, everything done", but not if this is still a page with some questions.
And as you know, you may autosubmit this page.
Joffm
you wrote
to hit the submit (verzenden) button on the final page containing the calculations,
And I wrote: Display your calculations on the end message page. So there is no "final page" with your calculations inside the questionnaire.
This way he will be able to read the calculated results on the end message page.
I admit, if a respondent reads a text display page with some results he may think "Ok, everything done", but not if this is still a page with some questions.
And as you know, you may autosubmit this page.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Robert1973
The topic has been locked.
- Robert1973
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 4 months ago #192418
by Robert1973
Replied by Robert1973 on topic Auto-submit on last question and do not display end page/message
Does this also mean I cannot auto-submit from the last question (group)?You cannot submit the survey and leave the last question group in place.
The topic has been locked.
- Robert1973
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
4 years 4 months ago #192419
by Robert1973
Replied by Robert1973 on topic Auto-submit on last question and do not display end page/message
You both state that I could modify the end message to display the results.
The thing is that my reporting contains about 30 conditional (relevance eq's) text display questions. I coded this reporting part also in the basic admin email.
Now, I'm thinking : maybe it's possible to just copy/paste the code from the basic admin email into the source of the end message.
Quick question : does the end message accept EM stuff?
The thing is that my reporting contains about 30 conditional (relevance eq's) text display questions. I coded this reporting part also in the basic admin email.
Now, I'm thinking : maybe it's possible to just copy/paste the code from the basic admin email into the source of the end message.
Quick question : does the end message accept EM stuff?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
4 years 4 months ago #192420
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 Auto-submit on last question and do not display end page/message
Quick answer - yes.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Robert1973
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13010
- Thank you received: 4002
4 years 4 months ago #192421
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Auto-submit on last question and do not display end page/message
And your other question:
Tony wrote
You cannot submit the survey and leave the last question group in place.
Joffm
Tony wrote
You cannot submit the survey and leave the last question group in place.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Robert1973
The topic has been locked.
- Robert1973
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 11 months ago #199498
by Robert1973
Replied by Robert1973 on topic Auto-submit on last question and do not display end page/message
A bit late but both your answers helped me. Many thanks!
The topic has been locked.