Added prevention of leading zeros on the entered values.