Question: I have a field in a repeating table in Infopath 2007 and I've saved the form to the document library and connected fields in the form to columns in the SharePoint site. The only options I see in SharrePoint when choosing properties for the repeating field are first, last, and count. First being first row and last being last row in my experience. Is it possible to see all the data in every row show up as data in my SharePoint column instead of just first, last, or count? Tank you!

Example:
FieldName = Pet

Field Data in Form:
Row1 = Cat
Row2 = Dog
Row3 = Mouse

I want to see Cat, Dog, Mouse in one cell in column named Pet not .......
(Last) Mouse
(First) Cat
etc.....

Answer: 
The Multiple User field is internally just a LookUp Field. The following code should work:

```
var users = new Array();

users.push(SP.FieldUserValue.fromUser("userName1"));
users.push(SP.FieldUserValue.fromUser("userName2"));

item.set_item(fieldName, users);
item.update();

```

Instead of `SP.FieldUserValue.fromUser("userName1")` you can use your existing `SP.FieldUserValue` object. Also make sure that the column is set to accept multiple users as input. You can set this in the column settings.
The above solution didn't work for me. It is described here: [Add multiple people using Javascript Client Object Model to a Field of Type SPFieldUserValue](https://sharepoint.stackexchange.com/questions/55399/add-multiple-people-using-javascript-client-object-model-to-a-field-of-type-spfi/57257#57257)

This is what worked for me:

```
var users = User1_ID + ';#' + User1_Name + ';#' + User2_ID + ';#' + User2_Name;

listItem.set_item(fieldName, users); listItem.update();

```