Implemented asserting for form.