• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with input Secret Field  RSS feed

 
safraz hanas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a form which is assigning user name & password for end users by an authorized person,

I'm using <h:input Secret> for password Fied. The Problem is when The Authorized Person want to edit the record <h:input Secret> doesn't set the Previous Value. Can anyone Suggest a solution

Thanks in Advance
 
Kevin Galligan
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you'd want a password box to be sending itself to a client. Since you don't want to show the value anyway, let it be blank. Test the value on the server. If the admin types in a new password, set it on the user. If the value is blank, leave the current password as is.

If you want to allow blank passwords, you'll need something different. I'd suggest an explicit "Password Reset" page.

Actually, I'd suggest that regardless.
 
safraz hanas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Kevin Galligan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!