News:

Support the VirtueMart project and become a member

Main Menu

How to disable autofill

Started by dylanphelan, August 16, 2012, 13:48:18 PM

Previous topic - Next topic

dylanphelan

Hi

I have a real mess with Autofill in Chrome.

I am using One Page Checkout.

See attached, how would i disable this.

[attachment cleanup by admin]

dylanphelan

I think the correct term is autocomplete.... Really need to get rid of this or make it look better.

bytelord

#2
Hello,

This is a chrome/browser feature hasn't to do with VM. Please check on google forums:
http://productforums.google.com/forum/#!topic/chrome/0DR-pLIVI5g%5B1-25%5D

for further assistance for One Page Checkout you should post here: https://forum.virtuemart.net/index.php?topic=99418.0
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

dylanphelan

Hi

Yes, I realize that.

I don't want to just disable it for myself. I want to disable it on my website so that none of my users see that autocomplete.

Surely you can disable autocomplete on each virtuemart form/input field.

bytelord

ok. then you can ask the vendor of the 3rd party software you use. https://forum.virtuemart.net/index.php?topic=99418.0

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

dylanphelan

i had a look at the 3rd party files and code (one page checkout)... they did reference autocomplete="off" but this was only in their overrides.

There was no reference to the virtuemart core user fields like name, phone, address 1 etc... I need to turn autocomplete off for those fields and thought I would need to do it in the VM core files.

bytelord

Hello,

you should try to use forms fields attribute autocomplete="off" for each field, for example:

if you have
<input type="text" id="first_name_field" name="first_name" size="30" value="" class="required invalid" maxlength="32" aria-required="true" required="required" aria-invalid="true">

will be change to:

<input type="text" id="first_name_field" name="first_name" size="30" autocomplete="off" value="" class="required invalid" maxlength="32" aria-required="true" required="required" aria-invalid="true">

But as i suggest you ask the developer of one page checkout because it uses javascript/ajax and maybe this can be done by changing some js code for all the fields!

Just post there!

Hope help you out.

Regards.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

bytelord

also forgot to mention that i think autocomplete attribute works only for IE.
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

virjgil13

Quote from: bytelord on August 16, 2012, 15:08:16 PM
also forgot to mention that i think autocomplete attribute works only for IE.

i think there's a autocomplete for mozilla. hm will be updating once i recall the name.