Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 739011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:21:05+00:00 2026-05-14T08:21:05+00:00

Most browsers cache form input values. So when the user refreshes a page, the

  • 0

Most browsers cache form input values. So when the user refreshes a page, the inputs have the same values.

Here’s my problem. When a user clicks Save, the server validates POSTed data (e.g. checked products), and if not valid, sends it back to the browser. However, as stated above, even if the server clears selection for some values, they may still be selected because of the browser cache!

My data has invisible (until parent item selected) checkboxes, so the user may be even not aware that some previous value is still selected, until clicking Save again and gets an error message – even though the user thinks it’s not. Which is irritating.

This can be resolved by doing Ctrl + F5, but it’s not even a solution. Is there an automatic/programmatic way to tell browser not to cache form input data on some form/page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:21:05+00:00Added an answer on May 14, 2026 at 8:21 am

    Are you explicitly setting the values as blank? For example:

    <input type="text" name="textfield" value="">
    

    That should stop browsers putting data in where it shouldn’t. Alternatively, you can add the autocomplete attribute to the form tag:

    <form autocomplete="off" ...></form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It looks like in most browsers, an <input type=submit> treats both [spacebar] and [enter]
I have a jQuery select which works in most browsers axcept IE. The code
Now that most of the major browsers support full page zoom (at present, the
I'm looking for a solution to a recurring problem I have with form based
I've noticed that most browsers (Chrome in particular) seem to cache web worker scripts
I have a piece of code that works on most browsers except the Android
On my site, the page displays incorrectly in most browsers until you refresh it.
In most browsers on linux, CTRL +(WHEEL)SCROLL allows the user to zoom in and
I have a page that makes the same JSONP request multiple times in a
Most popular browsers, while rendering an image, they display it line-by-line top-to-bottom as it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.