BUGFIX: $fieldInstance = $this->form->dataFieldByName($field); problem (SS 3.1)

Fix: $fieldInstance = $this->form->fields->dataFieldByName($field);

Regards,
Jose A.