$FieldSet

Provides access to a field set defined in your organization.

Usage

Use this in your Visualforce pages to dynamically iterate over fields in a field set. You must prefix this global variable with a reference to the standard or custom object that has the field set.

Example

<apex:page standardController="Account">
    <apex:repeat value="{!$Account.FieldSet.mySpecialFields}" var="field">
        <apex:outputText value="{!field}" />
    </apex:repeat>
</apex:page>
Previous
Next