A bit of a newbie question.
I've successfully got an autocomplete element displaying and working on a form (using the forms api), but I'm not sure how to get the saved values on submit.
With other elements, you simple do:
$stored_value = $formdata->my_field_name;
But, I'm assuming the values stored for autocomplete field are an array? Does someone have a simple example of looping through the selected values?