Hello All,
I need to validate the input given from format XXXXXXXXXX to XXX-XXX-XXXX.The system should take <b>only digits</b> and it should <b>not allow user to enter more than 10 digits</b>.Please help me in reaching the above requirements.
Also please tell me whether can I write my code after PAI.Does writing code like this validates the input given or where should i write my code..........Please suggest