Implemented resetHiddenFields.