• Post Reply Bookmark Topic Watch Topic
  • New Topic

jQuery help

 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I need a input field in which user can enter telephone number, STDcode -Number
std code should have of 3 digit and telephone no of 10 digit.how to do this by jquery. I am using jsf1.2 and rich faces
Thanks
 
Greg Charles
Sheriff
Posts: 3010
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you would use a couple of regular <h:inputText> controls, with <f:convertNumber>. What role do you see for jQuery?
 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg Charles wrote:I think you would use a couple of regular <h:inputText> controls, with <f:convertNumber>. What role do you see for jQuery?


I want to Masked Input (using jQuery )
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this link

Primefaces come with a packaged Masked Input component. Take a look at that as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!