Formula for HTML forms (design, validation, submission)