function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Display sections based on checkboxes checked ?

Hi Everyone,


I would like to get some suggestions on how to display sections on a Visualforce page based on specific checkboxes selected.


here is the Question ?


i made a VF page in which i have to display 2 radio buttons 

  1. Existing contacts ,
  2. New contacts ,


if i select the first one look up field should be displayed and the existing contact would be selected ,

if the second radio button clicked New fields should be displayed for creating the Contacts ,


how is this possible ?  plz help

Best Answer chosen by Admin (Salesforce Developers)