You need to sign in to do that
Don't have an account?
srilakshmib87
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!!
eg:
<apex:dataList value="{!Quote.Opportunity.Water_Leakage__c }" var="c">{!IF((Quote.Opportunity.Water_Leakage__c==true),"Water Leakage System with Brand :"," ")}
{!IF((Quote.Opportunity.Water_Leakage_Brand__c=="Sontay"),"Sontay","")}</apex:dataList>
regards
subhash