This discussion is archived
4 Replies Latest reply: Nov 13, 2012 11:05 PM by Arunkumar Ramamoorthy RSS

password field

963540 Newbie
Currently Being Moderated
Hi all ,

i am using the below code for password field, when i give secret="true" the password field shows white spaces instead of dots when i entered text

<af:inputText label="password" id="it1" secret="true" >

<af:validateRegExp pattern="^(?=.*[0-9])(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?!.*[ ]).{1,}$"

messageDetailNoMatch="Your password must be at least 8 characters and must contain at least one upper case letter, one lower case letter,atleast one number And Should not have blank space"/>


thanks in advance


  • Correct Answers - 10 points
  • Helpful Answers - 5 points