HG-10: form validation