How to get values of one control in other control with in Group Control

Hi All,

Use Case.

  1. I have created a group control with “Multiple” true.
  2. Group control has two widget one text field and other is dorpdown.
  3. Now when the group control is rendered then I want to know the value of each text field with in dropdown selected option , so that I can dynamically set the selected value of dropdown based on text field.
    so is it possible achieve above scenario ?

Thanks in advance
Akhilesh

Hello,

in Subscription edition, you can use contingencies. You will put a contingency on your select, that will make it dependent on your text field, and in “Selected value after update”, you can write a script that it will allow you to get a value from the text field (something like field_Text).

Hope this helps,
Haris

Which version and edition (Community of Subscription) of Bonita do you use (please, add it to your questions, as answers will be very different across different versions and editions)?
Thank you

Thanks for you response, I am using Bonita 6.2.2 version.

I forgot to mention that I am using subscription edition.

Thanks for your quick response I will try this out.

Hi Haris,

When I tried this solution, I got an alert message “Unsupported dependency on a TEXT widget!”.
Actually these controls are within group widget and I am generating multiple instance of these two controls using group widget. Can you please suggest if I am missing any thing ?

Thanks in advance
Akhilesh

I just checked, it works fine for me for a multiple group widget containing a text field and a select widget. Did you add your text field as a dependancy on the Contingencies tab of the select widget? When and where exactly do you get that alert message - in the Studio or at runtime?

Hi Harris,

Yes, I have added the Contingencies on the dropdown field. If possible can you please share the bos file with me. It will be great help for me.

Thanks
Akhilesh