Hi, Pratik
You could use the text input with the max length property and a jscript running onKeyDown blocking anything that's not a number. Something like this could work:
function PreventAlphabet() {
var key = event.which || eventkeyCode
if(key > 64 && key < 91){
event.preventDefault();
}
};
What it's doing is preventing the insertion of characters from A to Z and a to z, using their unicodes.