Add error class to invalid fields on PDF textbooks form
Save chapter information more frequently