Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to link two field names using trigger?

Hi all,

I have a field name 'X' which i want to duplicate. Here is how I m doing it:

X as A,

X as B

now i want A and B to be linked in such a way that if i click on A the same changes should be applied on B.

Please let me know if anyone knows it.

Regards

Sagar Gupta

2 Replies
Jason_Michaelides
Luminary Alumni
Luminary Alumni

If you really can't link the fields then try this:

Create a variable vSelectionsA

'(' & Concat(DISTINCT Chr(34) & A & Chr(34),'|') & ')'

Then, in the OnSelect trigger for A, add an action for Select in Field, Field = B, Selection = $(vSelectionsA) without the equals sign.

I may have the syntax slightly wrong and can't test right now but this should get you there.

Hope this helps,

Jason

Anonymous
Not applicable
Author

If you want the exact same selections in the second field, why don't you just create a second listbox and point that to field X as well?