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

1
0
-1

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

Comments

Submitted by haris.subasic on Fri, 05/09/2014 - 14:44

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

Submitted by akhilesh.pathak on Fri, 05/09/2014 - 14:46

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

Submitted by akhilesh.pathak on Fri, 05/09/2014 - 14:47

I forgot to mention that I am using subscription edition.

1 answer

1
0
-1

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

Comments

Submitted by akhilesh.pathak on Fri, 05/09/2014 - 15:28

Thanks for your quick response I will try this out.

Submitted by akhilesh.pathak on Fri, 05/09/2014 - 15:39

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

Submitted by haris.subasic on Fri, 05/09/2014 - 15:47

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?

Submitted by akhilesh.pathak on Fri, 05/09/2014 - 17:14

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

Notifications