No, the autocomplete plugin only allows one selection.
If you need several names, I would...
1) Use a multiple-short-text question
2) Add this script which includes a trigger for Expression Manager when the text inputs are changed:
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#question{QID} input[type="text"]').autocomplete({
minLength: 2, // This line is optional, signifies number of keystrokes before autocomplete is initiated
source: ["John Lennon","John Doe","Bill Gates","Billy Idol","Bill Clinton"],
change: function(event, ui) {
$(this).trigger('keyup');
}
});
});
</script>
3) Give the question a validation equation like this to ensure that answers are unique:
4) Give the question a validation tip something like this:
Code:
{if(unique(self), '', 'Answers must be unique!')}
Sample survey attached: