How do you remove the "entered" data from the form?

Hi all, I have been a happy user of WixCode since I heard about it in June! My website - www.elroblehomecare.com - looks much better thanks to many good tips I found on Youtube and here (WixCode forum). Good job on building this fabulous API, Wix.com!

Ok, here is my another question: how do you remove the “entered” data in the input boxes of the multi-age forms???

I built a multi-page form on my Free Quote webpage. Several wix.com website users and I have been discussing how to enable the “previous” and “next” buttons on each slide in wix.com forum and we’ve found out that setting up the database to the “Read & Write” mode is the only way to enable the “previous” and “next” buttons that allow the users to move to different slide of the forms.

Well, here comes another problem: whatever the previous user enters in the input boxes (e.g. name, phone number) will NOT disappear because the “Read & Write” mode needs the administrator to manually fetch the data from the live site to the database. I have tried setting up the placeholder of each text boxes “empty”, or even use the code like:
$w.onReady(() => {
$w(“QuoteName”).placeholder = " ";
$w(“QuotePhone”).placeholder = " ";
$w(“QuoteEmail”).placeholder = " ";
};

So…what should we do to make sure the data that the previous user enters will disappear when the net user check the website? It is an important data protection issue .

Thank you~

Louise

Hi Louise,

your site looks really great, and i see you already managed to code quite a bit!
there are a few assumptions here i do not understand, like the read/write for slide and why the inputs does not disappear.

do you mind to create a new simple multi stage form, just the minimum to explain the problem you experience? no need for all validations and all. we can use this template https://www.wix.com/code/home/example/Multistage-Form

thanks,
Shlomi

Hi Shlomi,

Thank you so much for your prompt response. I’ve created a “testing” page with a very simple multistage form. However, now I am having a problem like the people in this link (https://www.wix.com/code/home/forum/community-discussion/multipage-form-inputs-disabled). I can not put any data in the “name”, “phone”, and “email” forms now, whether I put “write-only” or “read & write” modes in our “testing” database. Please go to https://www.elroblehomecare.com/copy-of-free-quote to see what I am talking about.

Perhaps the bug that people in (https://www.wix.com/code/home/forum/community-discussion/multipage-form-inputs-disabled) is the main reason why we can’t enter the data in the input box of whatever we enter in the input box is not gone when the new user click the website.

Thank you,

Louise

Hi Louise,

it indeed looks strange, i will ask the relevant team to have a further look.
in the mean while, can you try to work around it using the following function on the next button click of page 2?
export function enableInputs() {
$w(‘#NameTesting’).enable();
$w(‘#PhoneTesting’).enable();
$w(‘#EmailTesting’).enable();
}

i think that trying to override it with read/write permissions which you do not really want is not the way to go. i will try to escalate it internally within wix

Shlomi

Hi Shlomi,

Can you restore the original version of testing website ( https://www.elroblehomecare.com/copy-of-free-quote ), please? The website page now looks like below and I still can’t go back to the original version with my own multipage form after restoring the old version through “site history” feature several times.


Yes, you are correct: overwriting the “read & write” notes with these javaScript codes is not ideal, unless doing so can help the people in this forum ( https://www.wix.com/code/home/forum/community-discussion/multipage-form-inputs-disabled ) resolve their issue (i.e. unable to put anything in the input boxes) or erase the entered data in my situation.

I actually have built my job application form on my “Join Us” (https://www.elroblehomecare.com/join-best-home-care) webpage and encounter the same issue (i.e. we can put data on the first page only, even though we’ve changed the order of the input boxes to “Bring to Front”) as the people in same forum ( https://www.wix.com/code/home/forum/community-discussion/multipage-form-inputs-disabled ). It seems that there is a bug between the live site and the datbase. I’ve tried to write some fetch codes myself but still failed. It seems to be an interesting bug in the cloud to deal with. :slight_smile: Therefore, I am taking a break from polishing my job application form until I get more information from you.

Thank you so much again for your help!

Best regards,

Louise

Hi Louise,

our engineering team confirmed it is an issue on our end and are working on it. i will update when i’ll hear news.
not sure what you meant about your site version though

regards,
Shlomi

Hi Shlomi,

Good to hear you guys found the issue on your end. Best luck on debugging and please let other avid WixCode users and I know when the issue is resolved.

My “Testing” site (the one I built for fixing the database issue with you) is having its original version now. Thanks for putting the old version back!

Best regards,

Louise

Hi Shlomi,

Just out of my curosity: would you and your team consider to make wix.com databases with HIPPA compliance?

Louise

Hi Louise,

there is nothing concrete at the moment but it is something we wanna look into in the future

Shlomi