Updates for hidden & file fields

Minor bugs in error reporting and handling