WebSite X5Help Center

 
Einar W.
Einar W.
User

Turn off autocomplete for a form (autofill)  en

Author: Einar W.
Visited 1571, Followers 1, Shared 0  

I have a website with a form and I do not want the browser to automatically fill inn what the user filled in last time he/her visited the page.

In HTML you can use "autocomplete="off" but how do I achieve the same effect in a form in Website X5 Pro?

Posted on the
13 ANSWERS - 2 USEFUL
Axel  
Axel  
User

Hello Einar,

+1

Should be an option into the form parameters into WSX5 !

But to have a new feature into WSX5 asked by users is really complex if not impossible. foot-in-mouth

Good luck !tongue-out

Enjoy
Axel

Read more
Posted on the from Axel  
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments.

Read more
Posted on the from Aleksej H.
Einar W.
Einar W.
User
Author

Thank's both :-)

Read more
Posted on the from Einar W.
Miguel Galarza
Miguel Galarza
User

Hello:
Before I used these 3 meta tags.

<meta http-equiv="expires" content="0">

<meta http-equiv="Cache-Control" content="no-cache">

<meta http-equiv="Pragma" CONTENT="no-cache">

This tells browsers NOT to cache anything, forcing them to download everything again when the site is visited again.

The inconvenience it presents is that it takes longer to view if the client visits the page several times a day, since it downloads EVERYTHING again, images, texts, etc. everything.

It would be a matter of including them and seeing if it works for you with the forms.

STEP 1 - Statistics and Code - Code - Before the closing of the /head tag.

Unfortunately I haven't used them for a couple of years. I don't know if they work yet.

Greetings

Read more
Posted on the from Miguel Galarza
Einar W.
Einar W.
User
Author

KolAsim, could you please present the answer in english?

Your link points to a long italian thead.

I suppose the solution is interesting for Incomedias customers outside of Italy too ;-)

Read more
Posted on the from Einar W.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

Forse non ho capito...

ma la funzione "disabilita autocompilazione dei moduli", dipende dal browser.

Quindi è l'utente che deve impostarlo nel suo browser, non tu nel sito...

======

Maybe I didn't understand...

but the function "disables autofill of the forms", it depends on the browser.

So it is the user who has to set it in his browser, not you in the website...

you can found more info on Google... 

here ad example:

https://support.iclasspro.com/hc/en-us/articles/218569268-How-Do-I-Disable-or-Clear-AutoFill-AutoComplete-Information-

Read more
Posted on the from Claudio D.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En) ...  Einar W., . .. sorry, I use Google Translate...foot-in-mouth...
... eventually, if the Topic is not clear, and if you are interested, put here the LINK of the page with your Form_mail, so that I can evaluate...

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Einar W.
Einar W.
User
Author

Claudio D.

You are misunderstanding the question. I Want to turn off autocomplete SERVERSIDE.
That is absolutely possible!

There are three ways to go about this:

1. Include thiis in the form: "autocomplete="off" (But browsers my ignore this setting)

2. Use the "new password" trick. (See link under)

3. Randomize the name of the input field. (This is the far best approach)

It would be best if Website X5 did include a variety of all these three approaches, at least the last one.

Look here:

https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion

Read more
Posted on the from Einar W.
Claudio D.
Claudio D.
Moderator
Best User of the month IT
Einar W.
Claudio D. You are misunderstanding the question. I Want to turn off autocomplete SERVERSIDE. That is absolutely possible!

si è possibile ma solo in parte ...

alcuni consigliano di usare uno script che lo forza , ma non funziona con tutti i browser, così come non funziona autocomplete OFF... 

come c'è scritto anche nel link che hai segnalato, quindi potrebbe funzionare solo se settato nel browser stesso.

Ma quale sarebbe la necessità ? Hai un pc in un chiosco o cosa ?

ciao

==========

questo lo script che alcuni consigliano di aggiungere (da mettere prima della chiusura del tag body) (io non l'ho provato)

<script> $(document).ready(function() { $('input').attr('autocomplete', 'off'); }); </script>

==========

trovi delle info qui:

https://www.w3docs.com/snippets/html/how-to-disable-browser-autocomplete-and-autofill-on-html-form-and-input-fields.html

Read more
Posted on the from Claudio D.
Einar W.
Einar W.
User
Author

Claudio D.

<script> $(document).ready(function() { $('input').attr('autocomplete', 'off'); }); </script>

...did work.

Thanks :-)

Read more
Posted on the from Einar W.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

Bene Einar...

allora chiudi il post...

Ciao

Read more
Posted on the from Claudio D.