You need to sign in to do that
Don't have an account?
syeda syeda
Hi all, i have a problem with calculating the average values based on picklist values.
Hi,
i have two piclkists in my custom visualforce page UI i.e picklist 1 name indicators: values are value1,value2, value3,value4 and second picklist name rating: values are super-3,good-2,bad-1. if i choose value1 in first picklist many times and if i choose relating rating values i need to caluculate average based on first picklist value and rating.
ex:
indiactors:value1 rating:super-3
value2 good-2
value3 bad-1
value4
addrow button remove button
if i click on addrow another picklists are displaying and if i select value1 again and again and ratings are 3,1,2 like that i need to calculate average and i need to put that average in another outputtext.please give me the snippet of code to solve this , help would be appriciated.
Thanks
syeda.
i have two piclkists in my custom visualforce page UI i.e picklist 1 name indicators: values are value1,value2, value3,value4 and second picklist name rating: values are super-3,good-2,bad-1. if i choose value1 in first picklist many times and if i choose relating rating values i need to caluculate average based on first picklist value and rating.
ex:
indiactors:value1 rating:super-3
value2 good-2
value3 bad-1
value4
addrow button remove button
if i click on addrow another picklists are displaying and if i select value1 again and again and ratings are 3,1,2 like that i need to calculate average and i need to put that average in another outputtext.please give me the snippet of code to solve this , help would be appriciated.
Thanks
syeda.
venkatesh jammi
<apex