Show/Hide a particular section of VF Page
This post is part of the previous post. you can check here--- How to show or hide a particular section of Visualforce Page dependent upon picklistfield value Here I am using the custom controller to achieve this functionality. Controller-- public class ShowMyContacts { public string source {get;set;} public List<selectOption> sourceValue {get;set;} public boolean flag {get;set;} public boolean flag1 {get;set;} public boolean flag2 {get;set;} public Contact contact {get;set;} public ShowMyContacts() { flag = false; flag1 = false; flag2 = false; sourceValue = new List<selectOption>(); sourceValue.add(new selectOption('','--select--')); sourceValue.add(new selectOption('web','Web')); sourceValue.add(new selectOption('phoneinquiry','Phone Inquiry')); sourceValue.add(n