When I submit the form on this page on the Wix Editor Preview page, everything works perfectly.
However, when I submit the same form on the live site the entry created in the collection named “Selection” does not record an _owner ID (see attached screenshots). Everything else works well and all data on the form is correctly submitted to the collection.
I tried the live website on desktop (chrome, safari and firefox), none worked. I also tried the live site on mobile (chrome and safari). none worked.
The form is submitted by connecting each form field and the Submit button to data. The page however also has some custom coding, but I am sure it’s not conflicting with the submit button. Here it is…
export function button6_click(event) {
$w('#textLoading').show();
}
I am also attaching screenshots from the live and sandbox collections, you’ll see the Owner field on both.
This may happen if you submit a form from the backend or/and use suppressAuth for the wixData insert because the server cannot identify the owner of the item unless you manually send the ‘_owner’ field in the insert payload.
If the user is not a site member then too there will be no ‘_owner’ id for the item they submit.
Yes. The Collection is set as Form Submission, and when I test the live site on all browsers, all items correctly get submitted, regardless of them being text, numbers, email or document types. Even an _id is correctly created. The only thing that does not show up is _owner
That explains it. I was under the impression that any visitor on a Wix site was assigned an _owner ID even if temporary and when they are not site members.