+ Start a Discussion
babloo123babloo123 

VF component to accept phone number

how to add a component on VF page that accepts only numbers 
My requirement is to have phone number entered when I use apex:inputtext then it also allows characters.How to avoid this? Can someone please help?
RamuRamu (Salesforce Developers) 
The below post might answer

http://salesforce.stackexchange.com/questions/31641/visualforce-apexinputtext-restrict-input-to-numbers-only

Please mark this as the best answer if it resolved your issue for others benefit.