apply-for-report validation and ajax