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

How to get the input field value in a controller

Hi ...

I have Visualforcepage where I am displaying one picklist input field from account Object.I have one button upon clicking the button i want to get the value selected in picklist field.As I need to do some functionality depending on this value.


Hence, can anyone suggest how can can i get the picklist field value in controller extension class.


Hi lakshmi


pick list values can be retrived and printed using<apex:datalistvalue>..


verify the following..use ur API name to retrive!!




<apex:dataList value="{!Quote.Opportunity.Water_Leakage__c }" var="c">{!IF((Quote.Opportunity.Water_Leakage__c==true),"Water Leakage System with Brand :"," ")}