Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello ,
i want to assign value to multibox items based on another multibox selected items .can any body help me on this ?
regards
 
					
				
		
 ganeshsvm
		
			ganeshsvm
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You can try this code snippet also, for multiple or single selection.
=if(GetSelectedCount(Company) >0,'(' & Concat(Distinct Company, '|') & ')')
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Just to add on point there is no relation between fields in two multibox and i have to scan all items from first multibox to identify selected values and assign them to another multibox items
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		would you mind Help me to solve my issue?
 
					
				
		
 jonathandienst
		
			jonathandienst
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What do you mean by "assign"?
 
					
				
		
 ganeshsvm
		
			ganeshsvm
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
Post a sample data and elaborate on your requirement.
 
					
				
		
 avinashelite
		
			avinashelite
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please share the sample data and explain your requirement so that it will be easier for us to understand
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		suppose in first multi box there is a field name "Company" and in second multi box there is a field name sub_con_company . now for example if user select "PCT" for company I want "PCT" automatically get selected for sub_con_company in second muti box . just to remind there is no relation between two multi box.
 
					
				
		
 avinashelite
		
			avinashelite
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Try with triggers .
Go to document properties >Triggers >
select the field 1 from the list > add on event trigger >Add action>Field selection >select second fields name where you want the selection > add this expression
if(getselectedcount(Company)>0,chr(39)&GetFieldSelections(Company,chr(39)&','&chr(39))&chr(39))
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		thanks but where i should add the expression ?
 qolkaram
		
			qolkaram
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		hey avinash , is the image clear to you , did u get my question ?
