I have this code that worked until recently but now doesn't seem to save the data to the table on submit anymore? Any help please?
import { session } from 'wix-storage';
$w.onReady(function () {
function storeHiddenFields() {
let source = session.getItem("utm_source");
let medium = session.getItem("utm_medium");
if (source !== null) {
$w("#input8").value = source;
} else {
$w("#input8").value = "NULL";
}
if (medium !== null) {
$w("#input9").value = medium;
} else {
$w("#input9").value = "NULL";
}
}
storeHiddenFields();
});
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Juast wait a little bit, seems like WIX is UPDATING something.
This could be the reason, if it worked well all the time, and now breaks down.