Form.addValueArray

void addValueArray(string key, string[] arrayOfValues)

This takes an array of strings and adds hidden <input> elements for each one of them. Unlike setValue, it makes no attempt to find and modify existing elements in the form to the new values.