Iphone 'return' button and normal previous page

Plus d'informations
il y a 4 ans 2 mois - il y a 4 ans 2 mois #126208 par 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.
Dernière édition: il y a 4 ans 2 mois par basvisscher.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 4 ans 2 mois #126209 par 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)
Les utilisateur(s) suivant ont remercié: basvisscher

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois - il y a 4 ans 2 mois #126210 par 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.
Dernière édition: il y a 4 ans 2 mois par basvisscher. Raison: Wanted to say thanks.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 4 ans 2 mois #126213 par 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)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 mois 6 jours #182738 par Tamiakay

basvisscher écrit: 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?

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!