I have bee trying to render a field based on lead status value like 'Cancel/Rejected'. if i select Cancel value it should display field A, if i select value Reject it should display field B. please take a look at my visualforce page. What am i missing ?

  • Please add the parent components of your selectList to your original post (use the edit button)
    – cropredy
    Oct 1, 2014 at 18:14
  • sorry - you misunderstood me or I wasn't clear -- on the VF page, the parent apex:xxx components to your selectList - these columns must exist inside of something
    – cropredy
    Oct 1, 2014 at 22:41
  • I m using <apex:pageBlock>
    – user7307
    Oct 2, 2014 at 19:59

1 Answer 1


I forgot to add my id for the output panel that i m using. That was the issue. Its a rookie mistake.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .