473,782 Members | 2,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with the browser stored data (form fields)!

kvijayhari
25 New Member
hi

i'm having a form in which a text field has a js function which lists the name of the customer by searching the letters typed in the field.. (like the one on gmail mail to column)

The js funtion is working well and there's no problem until i activated the store data options in the browser.

Once i use the forms the data entered before in the form fields are stored by the browser and they are gets listed over the div that is listed by the invoked js function. i want to restrict the browser not to list the stored form data for that field or even restrict the storage of data for that particular field..

Can anyone help on this?
Jul 26 '07 #1
7 1481
pbmods
5,821 Recognized Expert Expert
Heya, kvijayhari.

What do you want your code to do? Give an example.
What is your code doing that you don't want it to do? Give an example.
What is your code *not* doing that it is supposed to? Give an example.
Jul 26 '07 #2
kvijayhari
25 New Member
hi

Heya, kvijayhari.
What do you want your code to do? Give an example.
My code does what i want to. (i.e) displaying a div with the names of the matched entries when i type the characters in the search box...

What is your code doing that you don't want it to do? Give an example.
The code is not doing anything differently...

What is your code *not* doing that it is supposed to? Give an example
Here's the question i should answer. I've set the options in the firefox browser

"Remember what i enter in the forms and search bar" ... this is causing the issue..

once my code lists the names, i used to click any one of the names to set them in the specific field (the same field where i enter the characters for searching)..

Now again i'm visting the same page then i enter some characters in the same field ,, now comes the problem, the stored data which is done by the option set by me in the browser is displayed over the div which is displayed bcoz of my code..

I think u got it clear now ..

Now what i want is i want to restrict the browser from displaying the stored form data for that particular field.. or even not to store the data for that form field..
Jul 27 '07 #3
kvijayhari
25 New Member
hi

anybody there to answer this post i still looking for the answer..

please
Jul 31 '07 #4
gits
5,390 Recognized Expert Moderator Expert
hi ...

may be the attribute:

autocomplete="o ff"

is of some help? you may set it to the entire form or specific input-fields ... please tell me if this is working ... because i never tried it ;)

kind regards
Jul 31 '07 #5
kvijayhari
25 New Member
hi ...

may be the attribute:

autocomplete="o ff"

is of some help? you may set it to the entire form or specific input-fields ... please tell me if this is working ... because i never tried it ;)

kind regards
Hi

it's working nicely!! thanks.. What a simple attribute i missed out..

I looked for the options for the AUTOCOMPLETE thru google and some sites suggest that we can use that but couldn't rely on..

I don't know reason behind that..

Any way it's working nice..

Thanks for helping
Aug 3 '07 #6
gits
5,390 Recognized Expert Moderator Expert
hi ...

glad you got it working ... but i think too ... that older browsers don't support this attribute. may be you find out which browsers that may be and if that might be a problem ...

kind regards
Aug 3 '07 #7
acoder
16,027 Recognized Expert Moderator MVP
Hi

it's working nicely!! thanks.. What a simple attribute i missed out..

I looked for the options for the AUTOCOMPLETE thru google and some sites suggest that we can use that but couldn't rely on..

I don't know reason behind that..

Any way it's working nice..

Thanks for helping
The reason might be that autocomplete is not a standard attribute, but I think it is supported by most modern browsers (though I haven't checked).
Aug 3 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1782
by: L. Healy | last post by:
Hello All, I am pretty new to php, and I think this group is the right place to ask about this problem - please don't flame me if it isn't! I have an online questionnaire. The idea is that users are allocated a username and password with which to log in once, and once only to take a questionnaire. The date and time they used the password (credit) is logged in a db and they are shown the questionnaire form.
9
2646
by: Bartosz Wegrzyn | last post by:
I need help with sessions. I createt set of web site for nav with authorization. first I go into main.php which looks like this: <?php //common functions include_once '../login/common.php'; global $LOGINDIR;
0
1370
by: Mike Schellhase | last post by:
I am building a Windows application that hosts an ASP.NET application using the MS Web Browser Control. (see http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp for a similar app). I run into problems if one of my ASP.NET pages needs to upload a file (via HTTP). I am using the BeforeNavigate2 event of the Web Browser Control to find the target URL that the browser is trying to navigate to, process the page using the .NET...
10
2139
by: Saso Zagoranski | last post by:
hi, this is not actually a C# problem but since this is the only newsgroup I follow I decided to post my question here (please tell me where to post this next time if you think this post shouldn't be here). I have two design questions: 1. what is the correct (or best) way to include database queries into the code if you plan on
4
4580
by: Alex Sibilev | last post by:
Hello, I have a really weird problem I've been trying to solve it without any luck for the last couple of hours :( I'm writing a "conference board" application (quite similar to ASP.NET forum). I don't use server controls in it (apart from Page). The problem occurs on the page where visitor can post a new messages. Basically, it's a form with couple of
4
1867
by: Vigneshwar Pilli via DotNetMonster.com | last post by:
Hey, Well, I have a Problem. I have designed a table which has few fields which are being declared in the database of type .... char of length 10. and other fields with varchar 50 and datetime too. Well, the Problem is I am not able to display the CHAR type FIELDS in the
7
3470
by: Dabbler | last post by:
I'm using an ObjectDataSource with a stored procedure and am getting the following error when trying to update (ExecuteNonQuery): System.Data.SqlClient.SqlException: Procedure or Function 'UpdateRegistrant' expects parameter '@EMail', which was not supplied. The field value was null in the database and not changed in the FormView so is null going back into the stored procedure. I'm stumped and would greatly appreciate any suggestions.
1
2079
by: apstein | last post by:
Hi, I have an HTML form (generated by php) which I am rendering in Internet Explorer 6. My original problem was that if the user submitted the form, and then used the back button to return to the form (desirable ability), then all the fields in the form would reset to their default values, forcing the user to re-enter them to submit the form similarly as previously.
2
2638
by: sirdavethebrave | last post by:
Hi guys - I have written a form, and a stored procedure to update the said form. It really is as simple as that. A user can go into the form, update some fields and hit the update button to update the information which is stored in a SQL database. In testing we noticed that the form was updating correctly but the update mechanism was also updating the first record of the table in the sql database every time. No error messages are on...
0
9479
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.