How can I create a text field to enter obligatorily only three numbers in a table?