Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
I have a problem which already cost me a lot of time and I don't get it.
It would be nice if someone could take a look at the problem and could tell me if it is even possible to realize.
We got a Listbox A and a Listbox B with corresponding information. What we want to is, if a user selects a value in Listbox A the corresponding value from Listbox B should get selected too.
I thought it could work with a trigger, but it's not possible on Listboxes. Has anybody an idea how it could do?
Thank you and have a nice weekend!
Add the Select in Field action to the OnSelect trigger of the field that you show in the listbox. See the Triggers tab of the document properties window.
Hi,
I would avoid using triggers based on selections whenever possible, can I ask you why you need to do that?
Regards,
Cesar
Thank you for the help. I will try it and see if it works as wanted.
Thanks for your answer!
It is a point that a customer wants and depending on other selections there are different graphs shown. So if a value in one of these listboxes is selected the other should be selected too. I know it's a bit difficult to see the sense behind it
Why would you avoid the selction based triggers?
Hi, Go to document properties> triggers>OnAnySelect. Go to the actions.. add action selection > select possible and give filed name.
Hi, sorry for the late answer. Well, I usually avoid using triggers because it's a bit "fragile" in my opinion, the user needs to know about it and you must make sure that the trigger will always work disregarding the selections. So, if is possible to do something in your data model to create the relationship it would be better.
Cheers,
Cesar