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 '14 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 '14 at 22:41
  • I m using <apex:pageBlock>
    – user7307
    Oct 2 '14 at 19:59

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.