Custom Body code not retrieving data on mobile

Hello everyone!

I’ve been working on a website in which users can submit a form, containing hidden fields. It’s working perfectly fine on Desktop, however the same page on mobile provides only empty variables.

For example, one of the hidden fields is:

var userAgent = navigator.userAgent;

And on mobile the form extract no value form the variable.

Have you already encountered this issue?


Mobile same fields empty (in green):

Thanks in advance!

My site: Webflow - A-Players
It’s the “Players Template” page, on the “Mes vidéos” first tab and “Envoyer une vidéo” second tab’s upload video form.