fixed problem with string and autocomplete fields rendering with the wrong
field name.

this prevented error messages from being displayed on these fields, this
has now been fixed.