473,509 Members | 11,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

password vs. text

Hello,

I have a single line input box and when it is set to "password" the value in
it dissapears during form submits, but persists when simply set to "text".

How do I set and or persist the PASSWORD field?

thanks for listening.

M

Nov 17 '05 #1
3 2152
My understanding it's how browsers work.
They do not allow to set value for <input type="password">
George.

"Matthew C" <do****@noveris.com> wrote in message
news:X_********************@newsread2.prod.itd.ear thlink.net...
Hello,

I have a single line input box and when it is set to "password" the value in it dissapears during form submits, but persists when simply set to "text".

How do I set and or persist the PASSWORD field?

thanks for listening.

M

Nov 17 '05 #2
Hi

This is one way
<input name="sPassword" ID="sPassword" type="password"
value="<%=strPassword%>">

You could also send a script(JavaScript) to the client to set the password

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Matthew C" <do****@noveris.com> wrote in message
news:X_********************@newsread2.prod.itd.ear thlink.net...
Hello,

I have a single line input box and when it is set to "password" the value in it dissapears during form submits, but persists when simply set to "text".

How do I set and or persist the PASSWORD field?

thanks for listening.

M

Nov 17 '05 #3
Hi

No password element is NOT read only
example
<input type="password" onfocus="this.value='yadda'">

but input type="file" is read only

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"George Ter-Saakov" <we@hotmail.com> wrote in message
news:u$*************@TK2MSFTNGP11.phx.gbl...
My understanding it's how browsers work.
They do not allow to set value for <input type="password">
George.

"Matthew C" <do****@noveris.com> wrote in message
news:X_********************@newsread2.prod.itd.ear thlink.net...
Hello,

I have a single line input box and when it is set to "password" the value
in
it dissapears during form submits, but persists when simply set to

"text".
How do I set and or persist the PASSWORD field?

thanks for listening.

M


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
8679
by: Mike | last post by:
I've been trying for the past week to put a simple code together. I have done a LOT of searching, found scripts showing the functions I would like to use, however when I mix them it all goes wrong,...
0
1362
by: Doug Bell | last post by:
Hi I am having difficulty getting a password form to work correctly. I am using VB.Net. The required functionality is to allow a change to a setting but when a save button is clicked a password...
6
2279
by: Andre Ranieri | last post by:
I'm trying to create a login page for customers to log into our corporate website, our presidents naturally wants the user and password fields to populate from a cookie so the customer doesn't have...
5
16893
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
2
1702
by: yasinirshad | last post by:
Hi, Please see my below code to change password. Here i need to check for old password from database and need to update new password. But when i try to submit by giving wrong old password ,its...
6
2398
by: SenthilVel | last post by:
hi all, i am running a ASP.Net 2.0 application. in one of the pages i have a text box which is set as PASSWORD mode. when the page is submitted or transfered , am not able to get the contents of...
2
3171
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
1
2468
by: pawan123 | last post by:
Hi, I am using VB6 and SQL Server 2000. I want to design a logon form. In this form, how can I use a Password field to store in encrypted form in tbluser table and how can I compare password...
2
2802
by: whitey | last post by:
Can anybody supply me with a script the does what is in the title above please? I have tried so many different methods! here is what im currently trying to get to work SIGN IN <!doctype...
5
41822
by: ahilar12 | last post by:
hi all, i wanted to check whether the password entered matches with the confirm password.either through javascript or through php.i have enclosed my code somebody help on this <html> ...
0
7137
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...
1
7074
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...
0
7506
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...
1
5063
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...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3219
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...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1572
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 ...
1
780
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.