Textbook form validation and editing fixed.