Forms: Survey not shown at all on mobile (iOS) if shared via link

Nextcloud version (eg, 20.0.5): Nextcloud Hub 7 (28.0.3)
Operating system and version (eg, Ubuntu 20.04): Debian 4.19.304-1
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Debian)
PHP version (eg, 7.4): PHP 8.2.17


When sharing a survey created with Forms via a link (anonymous answers) users of mobile browsers (at least on iPhone7, iOS 15.8.2 ) do not see the survey at all.

Other users (e.g. Firefox on Desktop) see and are able to complete the survey (it just works).

Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

  1. Open this link with a a mobile browser: Nextcloud
  2. See a screen w/o any form

May be related to

sounds similar although, in their case, the user was obviously at least able to start the survey.

What does lastet iOS mean? At least 15.x is required, can you verify iOS 15+ is used?

It’s iOS 15.8.2 (I always update immediately, so I wrote “latest” – will edit my post now as well).

Did you try to use an alternative browser on your phone? I just did a quick test on an emulated iPhone 7 and also saw only the public page template using Safari

1 Like

Are you logged in while entering the website? Can you use another browser on iPhone e.g. Chrome? What browser is it?

1 Like

No, the screenshot only shows a public page accessed by a share link, so not logged in :slight_smile:

1 Like

Just installed and tried Firefox (124.0) with the same result. I also can confirm, that I am not logged into my onwcloud instance.

Do you think it has to do with the server-side configuration? In other words: Does Forms work with iOS on other owncloud instances?

I don’t use iOS. But I think if Nextcloud Forms didn’t work on iOS, it would be known. Can you try a different iPhone?

I have now a bit more feedback from other users with different devices: Both iPhone X and Android 10 (Honot 20 YAL-L21) do not show this problem. But two different iPhone7 with different Browsers (Safari and Firefox) show it as documented above. So it may be an iPhone7-only problem? Seems strange to me …

Maybe they can also test another browser e.g. Chrome.

I can reproduce it with iOS 15.5, this is on the console

Seems the problem is the lookbehind, which is only supported starting iOS 16.4 (Lookbehind in JS regular expressions | Can I use... Support tables for HTML5, CSS3, etc)

On iOS before 17.4 all browsers are forced to use the safari rendering engine. So even when you install a different browser, that does not make a difference.

1 Like

They are forced? Nice system. :wink: Thank you for getting such bad technology for so much money. What about browser Opera?

No native browser engine is allowed, besides safari/webkit. This changed with recent 17.4 but only because the EU forced apple to open up in this regard.

1 Like

Thanks EU.
Thanks Apple for nothing.

And after +10 years there is also the end of Lightning. Hallo USB-C. Welcome Apple back from the Stone Age.

Thanks for the deep insight! So for now, all users of iPhone-models below 8 can not participate? This could be a no-go for us as we do not want to force people into buying new devices.


Yes, opening an issue on GitHub sounds like a good idea.
I don’t think there’s a way to workaround easily. It needs to be checked if the current regex can be rewritten without a lookbehind.

The iPhone 7 doesn’t receive feature updates from Apple since 2022. So I think that we won’t fix it for these old devices anymore.

At least it gets security updates. Nextcloud currently supports 15+, so I will have a look if we can fix this or at least make it not fatal.

But as said no guarantees here.


The corresponding Issue Survey not shown on mobile (iOS 15, iPhone < 8) · Issue #2032 · nextcloud/forms · GitHub

Thanks for all your comments!

Yes please! Particularly in the context of a survey application, the exclusion of certain devices that are still in circulation would place a distorting filter over the results.