add validator to coa edit page