Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How to access Custom FieldSet in Visual Force page?
Hi Alas,
Try this Code:-
<apex:page standardcontroller="Ur_object_Name"><apex:form ><apex:pageblock ><apex:pageBlockButtons ><apex:commandButton value="Cancel" action="{!cancel}"/><apex:commandButton value="Save" action="{!save}"/></apex:pageBlockButtons><apex:pageblocksection columns="2"><apex:page ></apex:page><apex:repeat value="{!$ObjectType.Ur_object_name.FieldSets.Ur_field_set_Name}" var="f"><apex:inputfield value="{!Ur_object_Name[f]}"></apex:inputfield></apex:repeat></apex:pageblocksection></apex:pageblock></apex:form></apex:page>
Thanks
Anil.B
Hi Alas,
Try this Code:-
<apex:page standardcontroller="Ur_object_Name">
<apex:form >
<apex:pageblock >
<apex:pageBlockButtons >
<apex:commandButton value="Cancel" action="{!cancel}"/>
<apex:commandButton value="Save" action="{!save}"/>
</apex:pageBlockButtons>
<apex:pageblocksection columns="2">
<apex:page >
</apex:page>
<apex:repeat value="{!$ObjectType.Ur_object_name.FieldSets.Ur_field_set_Name}" var="f">
<apex:inputfield value="{!Ur_object_Name[f]}">
</apex:inputfield></apex:repeat>
</apex:pageblocksection>
</apex:pageblock>
</apex:form>
</apex:page>
Thanks
Anil.B