if (iteratorValue == null || iteratorValue.trim().length() <= 0 ) {
addFieldError("iteratorValue1", "iterator value 1 cannot be empty");
}
else if (iteratorValue.trim().indexOf(",") <= 0) {
addFieldError("iteratorValue1", "iterator value 1 needs to be comma separated");
}