Make sure an invalid form isn't created.