password vs. text

  • Thread starter Thread starter Matthew C
  • Start date Start date
M

Matthew C

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
 
My understanding it's how browsers work.
They do not allow to set value for <input type="password">


George.
 
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
==============================
 
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
==============================
 
Back
Top