declare variable `values` only in block where it is used
Merge pull request #1191 from Ciki/patch-1

netteForms: declared variable 'values'