added configurable form error class