I have two record types on a custom object and I have to show them as radio buttons on the visualforce page and render pageblock tables accordingly.I am unable to fetch record type name and display them as labels.
Any help will be appreciated
I have two record types on a custom object and I have to show them as radio buttons on the visualforce page and render pageblock tables accordingly.I am unable to fetch record type name and display them as labels.
Any help will be appreciated
Best Answer
You can try this
Apex Class :
Visualforce Page :
You can use and rerender attribute to render Tables accordingly.
It is ESSENTIAL to request RecordTypes by DeveloperName please Check here.