validation of form pageparts & error messages refactored