add validator to workflow pages