added filterInput and parseUserInput to ajax_validate