WebSite X5Help Center

 
Einar W.
Einar W.
User

Turn off autocomplete for a form (autofill)  en

Auteur : Einar W.
Visité 1637, Followers 1, Partagé 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?

Posté le
13 RéPONSES - 2 UTILE
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

Lire plus
Posté le de 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.

Lire plus
Posté le de Aleksej H.
Einar W.
Einar W.
User
Auteur

Thank's both :-)

Lire plus
Posté le de 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

Lire plus
Posté le de Miguel Galarza
Einar W.
Einar W.
User
Auteur

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 ;-)

Lire plus
Posté le de Einar W.
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois 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-

Lire plus
Posté le de Claudio D.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois ESMeilleur utilisateur du mois PT

(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

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Einar W.
Einar W.
User
Auteur

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

Lire plus
Posté le de Einar W.
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois 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

Lire plus
Posté le de Claudio D.
Einar W.
Einar W.
User
Auteur

Claudio D.

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

...did work.

Thanks :-)

Lire plus
Posté le de Einar W.
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois IT

Bene Einar...

allora chiudi il post...

Ciao

Lire plus
Posté le de Claudio D.