WebSite X5Help Center

 
Einar W.
Einar W.
User

Turn off autocomplete for a form (autofill)  en

Autor: Einar W.
Besucht 1175, Followers 1, Geteilt 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?

Gepostet am
13 ANTWORTEN - 2 NüTZLICH
Axel  
Axel  
User
Nutzer des Monats FR

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

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von Aleksej H.
Einar W.
Einar W.
User
Autor

Thank's both :-)

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von Miguel Galarza
Einar W.
Einar W.
User
Autor

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

Mehr lesen
Gepostet am von Einar W.
Claudio D.
Claudio D.
Moderator
Nutzer des Monats 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-

Mehr lesen
Gepostet am von 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

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪
Einar W.
Einar W.
User
Autor

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

Mehr lesen
Gepostet am von Einar W.
Claudio D.
Claudio D.
Moderator
Nutzer des Monats 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

Mehr lesen
Gepostet am von Claudio D.
Einar W.
Einar W.
User
Autor

Claudio D.

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

...did work.

Thanks :-)

Mehr lesen
Gepostet am von Einar W.
Claudio D.
Claudio D.
Moderator
Nutzer des Monats IT

Bene Einar...

allora chiudi il post...

Ciao

Mehr lesen
Gepostet am von Claudio D.