Hi all,
I got some roblem in my application i need to create choice group for
multiple choces
call choicegroup XYZ Choices A, B, C, D
at a time user has to select only 2 or 1 from 4 ie restricting the
choces to only 2 or 1 choices it can be of any combination and i given
values A=1, B=2, c=3 d=4 if user selects A and D the value for choice
group becomes avg of 2 ie 2.5
is that possible by using getselectedflags or any other clue
please help me
Kind Regards
Jay
for the present choice group i created is an exclusive one i need to use MULTIPLE choice group for this. ie id choice1 and 2 selected LTS value becomes 1.5 and 2 and 3 LTS=2.5.
if(item==LTSimpleHairs)
{
int LTSimpleHairs1=LTSimpleHairs.getSelectedIndex();
switch(LTSimpleHairs1)
{
case 0: LTS=1;
System.out.println("Cordate Selected");
break;
case 1: LTS=2;
System.out.println("Truncate Selected");
break;
case 2: LTS=3;
System.out.println("Cuneate Selected");
break;
}
}

Reply With Quote



