We have form downloads on our site, we ask for normal things (name, email, company, phone, etc etc) before allowing the download. What we want to do is once the user fills out this information once, they shouldn't have to re-fill out the same information over and over again.
I created a process to save the info in a cookie, and everything works to write the info into the cookie and the code can read it fine. But there is nothing I can do that'll put the data into the text input box to finally fulfill the whole purpose of this:
if (cookieSaved === "Y") { console.log("Mark 2"); $w("#name").value = local.getItem("name"); $w("#lastName").value = local.getItem("lastName"); $w("#company").value = local.getItem("company"); $w("#phone").value = local.getItem("phone"); $w("#email").value = local.getItem("email"); $w("#companySize").value = local.getItem("companySize"); }
So yeah, the whole X.value deal just flat out don't work. Nothing happens, but I get the "Mark 2" in the log, also logged each element to make sure that was being read it correctly... it is. It just won't change the text boxes.
I'm storing the value of an input field from a lighbox in a session variable and then calling a page. When I go back to lightbox ....the session variable has magically changed back to the old value....and populated the input value that is 'cached' in the old session variable.....
I am having same problem - input box is not connected to dataset but I can't populate it....
I am having the same issue, .value is working on one page, but not another.
I've been having this same problem. Was there ever a solution found for it?
https://www.hcmi.co/Docs/Case-Studies/Attrition-Study
This is the dyanamic page where the code is currently running...
Thanks again Yisrael. 😎
Hmmm. In fact - double hmmmm.
Please post the URL of your site. Only authorized Wix personnel can get access to your site in the editor.