I would use the following JS code in the 'exit' event of the List boxvar ListValue = this.rawValue;ListValue= replaceAll(ListValue, "\n", " ,");TextField1.rawValue= ListValue;function replaceAll(oldStr,findStr, repStr) { var srchNdx = 0; // srchNdx will keep track of where in the whole line ...