Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ,
i want to assign value to multibox items based on another multibox selected items .can any body help me on this ?
regards
You can try this code snippet also, for multiple or single selection.
=if(GetSelectedCount(Company) >0,'(' & Concat(Distinct Company, '|') & ')')
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
would you mind Help me to solve my issue?
What do you mean by "assign"?
Hi,
Post a sample data and elaborate on your requirement.
Please share the sample data and explain your requirement so that it will be easier for us to understand
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.
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))
thanks but where i should add the expression ?
hey avinash , is the image clear to you , did u get my question ?