GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Auto Populating fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Auto Populating fields" Watch "Auto Populating fields" New topic
Author

Auto Populating fields

Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
When I develope a web application, in a html page all the text boxes are having old values whatever i entered when I double click. That is history is maintained.. I see some of the sited dont have history of values in text boxes when double click inside the text box or auto populating as we type values. How to restrict this? Is this some browser or server setting?
Thanks in advance.


Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It is the browser that does that.

AUTOCOMPLETE=OFF

Eric
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Thanks Eric. Even I thought browser should control that.. But I don't see values in text boxes when I access some particular sites.. I have autocomplete on in my browser setting. In that case, that should affect all websites. right? how come some websites are not having that feature when I access in my same machine?
Thanks for your time.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I have no idea why, could be the foms are not coded correctly, tags are not right, the browser developers hate the site, etc. Maybe security levels, certificates, etc. I have no clue, just know I like the feature. LOL

Eric
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
ok. Thanks.. Definitely it may not be the issue with form not being coded properly. Same code when it deployed and access in my machine autocomplete runs well. When I deployed the same code/ear in our common organization webserver and access the application that feature doesnt work. It is the same browser & browser settings.. Something is turning that feature off.
As you said may be that has to do some thing with certificate,etc..
I like that feature to be on as I dont have to rememebr lot of values which I need during my testing!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you want to make your life easier, you need to download this: http://www.openqa.org/selenium-ide/

I have test scripts that basically do 100 actions in one click. Makes testing things on page 20 of a wizard easier. Run it in a loop and learn how to sleep with your eyes open!

Eric
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Thanks Eric. Definitely I will have look on that tool.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto Populating fields