Form validation and style edits