I am designing a form for a data entry function where two fields that are entered are hex (8characters). I want to edit this field for valid hex numbers. How do I do this?