Added array check to form value setter
Updated doc comment
Added OptGroup example
Updated search form example