Form validation for Dashboards and graphs