added detail form to demonstrate validation