- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I have a single question survey auto-submit?
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
4 years 10 months ago #185311
by blocka
Can I have a single question survey auto-submit? was created by blocka
I want to include a few links to my survey in an email. Each link will pass a value like ans=1, ans=2, ans=3 -- and this will be used to map that parameter to the one question in my survey.
This is for a "Rate your experience" type question, like this:
Rate your experience: 1 = Great, 2 = Ok, 3 = Needs Improvement.
That part is straight forward -- but what I want is for my participant to not have to click "Submit" on the survey page to complete their submission -- instead, I want the survey response to be marked as Complete by automatically submitting the response.
Can this be done?
This is for a "Rate your experience" type question, like this:
Rate your experience: 1 = Great, 2 = Ok, 3 = Needs Improvement.
That part is straight forward -- but what I want is for my participant to not have to click "Submit" on the survey page to complete their submission -- instead, I want the survey response to be marked as Complete by automatically submitting the response.
Can this be done?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 10 months ago #185315
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Can I have a single question survey auto-submit?
A submit via Javascript will work. The selection of the submitbutton changed in LS3.
Older thread about that topic (but not LS3):
www.limesurvey.org/forum/can-i-do-this-w...ger-save-submit-page
Older thread about that topic (but not LS3):
www.limesurvey.org/forum/can-i-do-this-w...ger-save-submit-page
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
4 years 10 months ago - 4 years 10 months ago #185316
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 Can I have a single question survey auto-submit?
Try this:
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function() { setTimeout(function() { $('#ls-button-submit').trigger('click'); },10); }); </script>
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 10 months ago by tpartner.
The topic has been locked.