Added a check on bloodsugar value

You cannot post an empty field or a non-numeric value