Add event helpers
Fix RE pattern for 'optional' and 'required' rules in form_validate