• murtazaalimir
  • NEWBIE
  • 25 Points
  • Member since 2012

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Can any one helps me . 
Scenario i have student object having 2 record types having picklist name : 'Group'
for example 
Record type 1 have these picklist values :
Group 1
Group 2
Record type 2 have these piclist values :
Group 3

Group 4

Group 5
these are showing fine if we just use the standard layout .
the problem is that on visual force page i am only creating the students record of record type 1 so i just want to display the picklist in visual force having the exact same values as they are showing in layout..
i.e
page :
<apex:inputField value="{!instance.Group__c}"/>
controller:
student__c instance = new student__c();


i know that i will achieve it by custom picklist but i wnat to know the standard method if exists..
thanks in advance :-)

Can any one helps me . 
Scenario i have student object having 2 record types having picklist name : 'Group'
for example 
Record type 1 have these picklist values :
Group 1
Group 2
Record type 2 have these piclist values :
Group 3

Group 4

Group 5
these are showing fine if we just use the standard layout .
the problem is that on visual force page i am only creating the students record of record type 1 so i just want to display the picklist in visual force having the exact same values as they are showing in layout..
i.e
page :
<apex:inputField value="{!instance.Group__c}"/>
controller:
student__c instance = new student__c();


i know that i will achieve it by custom picklist but i wnat to know the standard method if exists..
thanks in advance :-)