Experiments with 'reduce' to build up form validation.