Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Next button only working the third time

  • simonrasch
  • simonrasch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago - 3 years 4 months ago #207788 by simonrasch
Next button only working the third time was created by simonrasch
Hey,

The next button of my introduction page only works at the third time. The first two clicks it just reloads the first page again. I think it only happens, when using a Mac (Safari Browser).

I know that this topic has already been opened under the link:

forums.limesurvey.org/forum/design-issue...e-fourth-time#203781

However, they recommended 2 solutions to the topic:
- Firstly: "Reverting the PHP version from 7.4.2 to 7.3.9 actually solved the problem. It is working fine with PHP 7.0/7.2/7.3, just 7.4 seems to cause that problem." --> I dont get what PHP is, and how i solve the problem.
- Secondly (in the bugforum): "Fixed in Release 4.3.23+201026"

Well, for me both dont work for me. Since i got a Univeristy-Account, i got Version 3.22.27+200720 and i guess i cant change it. As well, i dont know how to do this PHP thing, and if it would work for me. Also google wont help me.

Please help me :( I need to start the survey for my thesis as soon as possible, since i have a fixed end-date for the thesis...
Last edit: 3 years 4 months ago by simonrasch.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #207791 by tpartner
Replied by tpartner on topic Next button only working the third time
PHP is installed on the server, you will need to contact the server admin.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • simonrasch
  • simonrasch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #207792 by simonrasch
Replied by simonrasch on topic Next button only working the third time
Thanks for the fast message. Who is the server admin, and where do i find contact data?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #207793 by tpartner
Replied by tpartner on topic Next button only working the third time
Err...maybe at your university?

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: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #207795 by DenisChenu
Replied by DenisChenu on topic Next button only working the third time

simonrasch wrote: Thanks for the fast message. Who is the server admin, and where do i find contact data?

We can not answer …

You must know where your hosted …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • simonrasch
  • simonrasch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #207798 by simonrasch
Replied by simonrasch on topic Next button only working the third time
I asked my university now.
Anyways, is there no other option to fix this bug?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #207801 by DenisChenu
Replied by DenisChenu on topic Next button only working the third time
If you have access to theme : extend it and
github.com/LimeSurvey/LimeSurvey/commit/...477d0021d426695e4ebd

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • simonrasch
  • simonrasch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #207809 by simonrasch
Replied by simonrasch on topic Next button only working the third time
Did this. Doesnt change anything. Via Safari you still need to click 3 times until the survey begins.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago #207815 by Joffm
Replied by Joffm on topic Next button only working the third time
Well,
shouldn't be a problem to explain it on the welcome page.

That Safari users might have to click here a few times.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 4 months ago - 3 years 4 months ago #207819 by tpartner
Replied by tpartner on topic Next button only working the third time
If you have permissions to insert JavaScript, try adding this to the source of the welcome message:

Code:
<script type="text/javascript" charset="utf-8">  
  $(document).on('ready pjax:scriptcomplete',function(){
 
    if(navigator.userAgent.toLowerCase().indexOf('safari/') > -1) {
      $('#ls-button-submit').on('click', function(e) {
        $('#limesurvey').submit();        
      });
    }
    });
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 4 months ago by tpartner.
The topic has been locked.
  • simonrasch
  • simonrasch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 4 months ago #207822 by simonrasch
Replied by simonrasch on topic Next button only working the third time
Tried it out. Doesnt work. Thanks anyways!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose