This project has moved and is read-only. For the latest updates, please go here.

Using SPAutocomplete on a Multiple Item Form

Jun 17, 2014 at 5:54 PM
I'm currently using SPAutocomplete to lookup data from a list in a sibling site, and it's working great, except that I'm using the SharePoint Designer "Multiple Item Form" DVWP. The box with the lookup options only appears under the first instance of the field in the form, and only inputs values into that field. I can be typing text into the fifth field down on the page, and the selection box will pop up under the first field. Anything I select from that box populates into the first field.

Is there a way to get the selection box bound to each field in my form independently of the others?
Jun 17, 2014 at 6:43 PM
I've never tried it with multiple items like that, but the selector is probably only "seeing" the first one. As you know, the function uses the columnName to hook into the form. I'm not sure what the multiple item structure markup might look like.

If you want a much more full-featured autocomplete, look at jQueryUI's.