function inputFields(form){
	log.info("----------approversMailList:"+form.getValue("approversMailList"));
	var recno = form.getValue("recnoList").split(",");
	var mails = form.getValue("approversMailList").split(",");
	var ids = form.getValue("approversList").split(",");
	
	var usuarios = new Array();
	
	
	
	for (var k = 0; k < mails.length; k++) {
		var usuario = {
				"recno" : recno[k].trim(),
				"mail" : mails[k],
				"id" : ids[k],
		}
		usuarios.push(usuario);
	}
	
	
	
	log.info("------inputFields:"+mails);
	
	var constraints = new Array();
	for (var i in mails ) {
		constraints.push(DatasetFactory.createConstraint("mail", mails[i].trim(), mails[i].trim(), ConstraintType.SHOULD));
	}
	var dataset = DatasetFactory.getDataset("colleague", ["colleaguePK.colleagueId", "mail"], constraints, null);
	
	
	for (var i = 0; i < usuarios.length; i++) {
		for (var j = 0; j < dataset.rowsCount; j++) {
			if(usuarios[i].mail == dataset.getValue(j, "mail")){
				usuarios[i].id = dataset.getValue(j, "colleaguePK.colleagueId");
				break;
			}
		}
	}
	
	
	var recnoList = "";
	var approversMailList = "";
	var approversList = "";
	
	for (var l = 0; l < usuarios.length; l++) {
		log.info("------recnoList: "+recnoList);
		log.info("------approversList: "+approversList);
		log.info("------approversMailList: "+approversMailList);
		
		
		if(recnoList != ""){
			recnoList = recnoList+",";
			approversMailList = approversMailList+",";
			approversList = approversList+",";		
		}
		
		recnoList = recnoList+ usuarios[l].recno;
		approversMailList = approversMailList+ usuarios[l].mail;
		approversList = approversList+ usuarios[l].id;
	}
	
	
	
	
	form.setValue("recnoList", recnoList);
	form.setValue("approversMailList", approversMailList);
	form.setValue("approversList", approversList);

	
	
}