amended Validator code so functions as expected
Merge branch 'master' of https://github.com/RobertJuergens/nhs-nutrition-diary.git