You need to sign in to do that
Don't have an account?

How to get the previous selected value for select list
I have two select list with Months and Quarters Filters and one Action button.
If i select Months and Quarters value at a time i want to consider recent sleected value
<apex:selectOption itemvalue="Reports" itemLabel="select Report" /> <apex:selectOption itemvalue="1" itemLabel="Test1"/> <apex:selectOption itemvalue="2" itemLabel="Test2"/>
</apex:selectList> I select the value 1 first, how do I retrieve the value of 1 after I choose 2 in visualforce page
If i select Months and Quarters value at a time i want to consider recent sleected value
<apex:selectOption itemvalue="Reports" itemLabel="select Report" /> <apex:selectOption itemvalue="1" itemLabel="Test1"/> <apex:selectOption itemvalue="2" itemLabel="Test2"/>
</apex:selectList> I select the value 1 first, how do I retrieve the value of 1 after I choose 2 in visualforce page
Yeah i want to compare the select list value od old with new.
Thakns for your reply if this is not possible i hope only way i can throw validation rule to select any one filter at a time.
Do mark my answer as best answer if it helped solve your problem
Can you refer your requirement here, perhaps my understanding maybe wrong and there may be some other way for it.