added note to validate-form being wrapped inside an anonymous functions