Allow only numbers

When writing to the hidden text field, users could insert any character if they are using a bluetooth keyboard (for example). This filters non-numeric characters.