- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Iphone 'return' button and normal previous page
- basvisscher
- Topic Author
- Offline
- New Member
I hope someone can help me with these two problems i have encountered. I am using the default theme.
1. When user of survey is using an iphone and types a text with iphone keyboard there is a return button to submit what you typed. Sometimes called send button but the button returns you to the previous page. All data still is there when you press next in the site navigation. But this is not a desirable way of filling in the survey.
My question is:
- Is it possible to disable this iphone keyboard button through the site.
- Or Is it possible to edit the action performed using this button. SO it just closes the iphone's keyboard instead of going to the previous page.
2. When users of pc's etc. press the browsers previous button the site stops and all data is gone.
What can i do to prevent this? In chrome it says 'ERR_CACHE_MISS' but in every browser it stops.
I hope you guys can help me out.
- Ben_V
- Offline
- Platinum Member
- Posts: 1223
- Thank you received: 351
Have you seen this previous post ?
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
- basvisscher
- Topic Author
- Offline
- New Member
- Posts: 4
- Thank you received: 0
Ok i did read it. This was a solution i put it in the question.pstpl file on top.
<script>
$(document).ready(function() {
$('input').on('keydown keypress', function(e) {
if(e.keyCode === 13) {
return false;
}
});
});.
</script>
And question 2 still stands, what to do if the previous browser butten is pressed. Now the survey stops with the 'ERR_CACHE_MISS' error.
- Ben_V
- Offline
- Platinum Member
- Posts: 1223
- Thank you received: 351
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
- Tamiakay
- Offline
- New Member
- Posts: 1
- Thank you received: 0
basvisscher wrote: Hello everybody,
I hope someone can help me with these two problems i have encountered. I am using the default theme.
1. When user of survey is using an iphone and types a text with iphone keyboard there is a return button to submit what you typed. Sometimes called send button but the button returns you to the previous page. All data still is there when you press next in the site navigation. But this is not a desirable way of filling in the survey.
My question is:
- Is it possible to disable this iphone keyboard button through the site.
- Or Is it possible to edit the action performed using this button. SO it just closes the iphone's keyboard instead of going to the previous page.
2. When users of pc's etc. press the browsers previous button the site stops and all data is gone.
What can i do to prevent this? In chrome it says 'ERR_CACHE_MISS' but in every browser it stops.
I hope you guys can help me out.
Are you still facing the issue?