title: How to Set a data type for a textbox
body: <p>I'm building a small application that is connected to a private database. In my application, I input data inside textboxes that record data inside a database after clicking a button. The problem I'm facing is that I want to make a certain textbox accept only Integers to prevent entering wrong types of data.</p>