| Author |
Facelets question on input validation
|
Sai Maddi
Greenhorn
Joined: Jan 11, 2006
Posts: 2
|
|
Hi, I am working on a scenario where I should not allow the user to enter any character other than alpha numeric on an input text box. I verfied the java script and it is working fine. I would appreciate if you can tell what I am wrong here. input type="text" jsfc="h:inputText" id="xCode" value="#{xBean.xCode}" disabled="${displayOnly}" readonly="${displayOnly}" tabindex="#{tabindexcc+6}" PS: I removed the key press event that runs java script in order to post this message. I couldn't post the message with that event code. Not sure why though. Thanks in advance.
|
 |
John Blanco
Greenhorn
Joined: Jan 13, 2005
Posts: 20
|
|
|
What's wrong?
|
 |
Sai Maddi
Greenhorn
Joined: Jan 11, 2006
Posts: 2
|
|
|
The input text is still taking special characters.
|
 |
 |
|
|
subject: Facelets question on input validation
|
|
|