Version: current

# Class HiddenFieldSet

A fieldset designed to store a list of hidden fields. When inserted into a template, only the input tags will be included

  Object
  ViewableData implements IteratorAggregate
  DataObjectSet implements IteratorAggregate, Countable
  FieldSet
  HiddenFieldSet

Package: forms\fields-structural
Located at sapphire/forms/FieldSet.php

## Methods summary

`public string` | # `forTemplate( )` Returns this set as a XHTML unordered list. Returns this set as a XHTML unordered list. #### Returns `string` string #### Overrides `DataObjectSet::forTemplate`

### Methods inherited from FieldSet

`HiddenFields()`, `__construct()`, `addFieldToTab()`, `addFieldsToTab()`, `changeFieldOrder()`, `collateDataFields()`, `dataFieldByName()`, `dataFields()`, `fieldByName()`, `fieldPosition()`, `findOrMakeTab()`, `flushFieldsCache()`, `hasTabSet()`, `insertAfter()`, `insertBefore()`, `makeFieldReadonly()`, `makeReadonly()`, `onBeforeInsert()`, `push()`, `removeByName()`, `removeFieldFromTab()`, `removeFieldsFromTab()`, `renameField()`, `replaceField()`, `rootFieldSet()`, `saveableFields()`, `setContainerField()`, `setForm()`, `setValues()`, `transform()`

### Methods inherited from DataObjectSet

`Count()`, `CurrentPage()`, `First()`, `FirstItem()`, `GroupedBy()`, `Last()`, `LastItem()`, `MoreThanOnePage()`, `NextLink()`, `NotFirstPage()`, `NotLastPage()`, `Pages()`, `PaginationSummary()`, `PrevLink()`, `TotalItems()`, `TotalPages()`, `UL()`, `addWithoutWrite()`, `buildNestedUL()`, `column()`, `containsIDs()`, `debug()`, `destroy()`, `emptyItems()`, `exists()`, `find()`, `getChildrenAsUL()`, `getIterator()`, `getPageLimits()`, `getRange()`, `groupBy()`, `groupWithParents()`, `hasValue()`, `insertFirst()`, `map()`, `merge()`, `onlyContainsIDs()`, `parseQueryLimit()`, `pop()`, `remove()`, `removeDuplicates()`, `replace()`, `setPageLength()`, `setPageLimits()`, `setPaginationGetVar()`, `shift()`, `sort()`, `toArray()`, `toDropDownMap()`, `toNestedArray()`, `unshift()`

### Methods inherited from ViewableData

`ATT_val()`, `BaseHref()`, `CSSClasses()`, `ColumnBreak()`, `ColumnCalc()`, `ColumnNumber()`, `ColumnPad()`, `ColumnPos()`, `CurrentMember()`, `Debug()`, `Even()`, `EvenOdd()`, `FirstLast()`, `HasPerm()`, `IsAjax()`, `JS_val()`, `Me()`, `Middle()`, `MiddleString()`, `Modulus()`, `MultipleOf()`, `Odd()`, `Pos()`, `RAW_val()`, `SQL_val()`, `ThemeDir()`, `ThemeName()`, `Top()`, `XML_val()`, `__get()`, `__isset()`, `__set()`, `buildCastingCache()`, `cachedCall()`, `castingClass()`, `castingHelper()`, `castingHelperPair()`, `castingObjectCreator()`, `castingObjectCreatorPair()`, `customise()`, `defineMethods()`, `escapeTypeForField()`, `getField()`, `getSecurityID()`, `getXMLValues()`, `hasField()`, `i18nLocale()`, `iteratorProperties()`, `obj()`, `renderWith()`, `setCustomisedObj()`, `setField()`

### Methods inherited from Object

`__call()`, `__toString()`, `__wakeup()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `extInstance()`, `extend()`, `getCustomClass()`, `getExtensionInstance()`, `getExtensionInstances()`, `get_extensions()`, `get_static()`, `hasExtension()`, `hasMethod()`, `has_extension()`, `invokeWithExtensions()`, `is_a()`, `loadCache()`, `parentClass()`, `parse_class_spec()`, `remove_extension()`, `sanitiseCachename()`, `saveCache()`, `set_stat()`, `set_static()`, `set_uninherited()`, `stat()`, `strong_create()`, `uninherited()`, `uninherited_static()`, `useCustomClass()`

### Methods inherited from Countable

`count()`

### Magic methods summary

## Properties summary

### Properties inherited from FieldSet

`$containerField`, `$sequentialSaveableSet`, `$sequentialSet`

### Properties inherited from DataObjectSet

`$current`, `$first`, `$items`, `$last`, `$odd`, `$pageLength`, `$pageStart`, `$paginationGetVar`, `$totalSize`

### Properties inherited from ViewableData

`$casting`, `$customisedObject`, `$default_cast`, `$failover`, `$iteratorPos`, `$iteratorTotalItems`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -