7
stackodev
13d

Is it just me, or is form autofill in the browser just a major PITA for shop owners when people get to the checkout screen? I've had two clients in the past week with problems where users didn't pay attention to their autofill outcomes, or where the form absolutely has to keep a certain value that we've autofilled for them but gets overwritten by their browser. Now there is a shipment of product out in the wind that is going to return to sender and be delayed in a correction cycle. If you've been able to halt this type of nonsense, I'd love to know how you did it.

function ignoreAutoFill() {return browserSitDownAndShutUp;}

Comments
  • 0
    The problem is that over the years both chrome‘s and firefox‘ autofill performance has drastically decreased.
    I think that this functionality has been neglected for a long time
  • 0
    At this point, I think browsers should drop the form-filling and password-saving functionality. The former hardly ever works any more and the latter is unbelievably insecure. Browser extensions handle both features so much better.
  • 0
    Even worse, this may lead to insecure storage of personal data. When I got my landline contract, I was asked for my identity card's number, which was required.
    I could clearly see at least two other numbers on the screen.
  • 3
    Wouldnt the autocomplete="off" tag fix that problem?
  • 2
    I’ve never had a problem with auto fill, just go through the fields before clicking submit. Also, why would you store any session data in forms? That’s horrible practice.
  • 0
    Just don’t use autofill and disable it.
  • 2
    Why would you make a field that absolutely has to keep the value you filled it with writable?
  • 0
    @Frederick I would love to use that. But these are WooCommerce and Shopify sites. The WooCommerce site doesn't have a "hook" into the <form> element for me to add it. But it's being requested by multiple developers. Otherwise we have to fork the checkout template which is also a PITA to maintain. The Shopify sites at a certain plan level do not let you modify the checkout form at all. You have to upgrade to their "ludicrous money burn" plan to get that privilege.
  • 0
    @FastFwd00 "Dear customer. Please don't use autofill." is kind of a non-starter.
  • 0
    @TobiSGD It's an edge case with a special delivery item (sorry, NDA prohibits further detail) where at checkout a customer can choose to be associated with a known workplace to get a discount. But they also have to have the items shipped to their workplace (to avoid people using the feature to get a discount at their home address). So at checkout, when the form autofills, we cannot do anything to prevent it. We do put the workplace address into the fulfillment end so that the delivery person knows where to take it.
  • 0
    @Frederick No, it won’t. Browsers ignore it.
Your Job Suck?
Get a Better Job
Add Comment