Added invalid form handling on details page.