form for statistics view