public function hideFields($fieldNameList)
    {

        if (is_array($fieldNameList)) {
            foreach ($fieldNameList as $name) {
                $this->field($name)->hide();
            }
        } else {
            $numargs = func_num_args();
            $fieldNames = func_get_args();

            for ($i = 0; $i < $numargs; $i++) {
                $this->field($fieldNames[$i])->hide();
            }
        }
    }