See the following example
public Map mapFieldLabels{get;set;}
//constructor
public DemoClass {
mapFieldLabels = new Map();
Schema.DescribeSObjectResult d = Application__c.sObjectType.getDescribe();
Map mapFields = d.fields.getMap();
for (Schema.FieldsetMember member : getEnrollmentQuestionsFields()) {
if (member.fieldpath == 'Entry_Type__c') {
mapFieldLabels.put(member.fieldpath,'Entry status');
} else if (member.fieldpath == 'Start_Term_of_Interest__c') {
mapFieldLabels.put(member.fieldpath,'For which term are you applying?');
} else if (member.fieldpath == 'Start_Year_of_Interest__c') {
mapFieldLabels.put(member.fieldpath,'For which year are you applying?');
} else if (member.fieldpath == 'Academic_Areas_of_Interest__c') {
mapFieldLabels.put(member.fieldpath,'List the academic areas in which you have the greatest interest');
} else if (member.fieldpath == 'EnrollmentrxRx__Do_You_Plan_to_Apply_For_Financial_Aid__c') {
mapFieldLabels.put(member.fieldpath,'Will you apply for financial aid?');
} else {
mapFieldLabels.put(member.fieldpath,mapFields.get(member.fieldpath).getDescribe().getlabel());
}
}
}
Use this map in the page like as