Set up an input mask for the fields

Input mask only accepts values 1-9.

Also increased size of fields, need to work on the gui design because it
looks terrible at the moment.