About input text

How can I create a textbox that user can input it with number,then with a check button,it will trace (“user input”)?

Thanks.