I have a list box 2010,2011,2012,2013,2014 these are records i want to limit the selections any 2 only (user restricted to select all the records) what can i do . user is able to select only any 2 values.
Your question is not clear,
do you mean the user is restricted to select any selection( meaning user cannot select anything) in that case, you want that user to be allowed to select only two selections?
if yes, do you have particular values, or any two values?
May be this?
Document Properties -> trigger -> Field Event Trigger -> Field name -> OnSelect
And then create action like select in field using FieldName and string called
=if(GetSelectedCount(FieldName)>2, '', '(*' & GetFieldSelections(FieldName,'*|*') & '*)')
Listbox object to show always one selected value with flexibility to select more than one value from the list
Retrieving data ...