so i implemented the code exactly as i was shown in the forum and it works everything works BUT only in preview. it does not work in the published site… my search code that used to be working does not work in the published site… !!!
I noticed that the mode of the dataset is Read&Write . Please change it to Read Only . Click here to learn more about Working with Dataset Modes and Collection Permissions . Moreover, please make sure that you’ve synced the data to the live site.
Thank you so much for the feedback! after i made changes to the dataset and checked that all my items where synced to live site it still does not work… is there anything else im missing?
I checked your console error and saw the following message: Uncaught (in promise) Error: The current user does not have permissions to read on the staff collection.
Hi Good Day, I have the same problem, everything works in preview mode but not in published site. Here is the URL → https://evanrjenkins.wixsite.com/dogservice, scroll down to see the form.
Data input through preview loads to database fine. When it’s submitted from live site, it says successfully submitted but never shows up in database.
I did have database permissions set to members only, since this is in a members section. I tried changing to anyone to see if that fixed it, and it hasn’t.
Hello, I am having same issue, I have wix code setup to email on submission, the email sends in preview mode but not on published site. I have DB set to read only and permissions set to anyone. Please help.
//email on submission
import {sendEmail, sendEmailWithRecipient} from ‘backend/email’;
function sendFormData() {
const subject = Thank you for registering with GameChangerz University;
const body = https://drive.google.com/open?id=1KpushXasCuZCCYRyCayFqK0tgi4NqVyd ;
const recipient = $w(“#input9”).value;
Hi, my site has issues on preview mode. After laying the widgets on the editor, only a single strip appears on the preview. My site url is https://simonwambua433.wixsite.com/apraorg
I have a similar issue. I updated my website, saved and published. In preview mode looks corrected and updated. However in published mode I still have previous information. Any help?