0 in front of number field

thanks for this, but that means users can enter anything they like. At least a number field validates that only numbers are used. Is there no other way?