Iphone 'return' button and normal previous page

More
4 years 2 months ago - 4 years 2 months ago #126208 by basvisscher
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.
Last edit: 4 years 2 months ago by basvisscher.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
4 years 2 months ago #126209 by Ben_V
Hello,
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)
The following user(s) said Thank You: basvisscher

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #126210 by basvisscher
Thank you very much!
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.
Last edit: 4 years 2 months ago by basvisscher. Reason: Wanted to say thanks.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #126213 by Ben_V
you are welcome

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)

Please Log in or Create an account to join the conversation.

More
8 months 2 days ago #182738 by Tamiakay

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?

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!