Using Condition and logic in uipath form

Hello all,
I have a dynamic dropdown and I want to use a text field below which updates the selected file in dropdown.

I read something with logic and condition but I dont know how its works. also I dont know much about javascript. Can someone help me with this?

@tarangmehta1195
Hi,
If possible could you share any screenshots related to Dropdown?

Battle Bots.

I cant share my file but I can explain. I used systemIO to read files in folder and the used that file in dynamic dropdown. Now I want user to select one or more file, fill its information.

But I dont know how can i create a dynamic form based on n-selection. and the read it to perform other activities in the automation.

so first step is to create dynamic form. and that what the idea is to read the input of user from drop down and store it in text box in form to display dynamically.

I hope i make some sense. If not let me know maybe i can simplify it.

Hi @tarangmehta1195 ,

The below workflow does not address your full use case but a method is available using Form Triggers to store the selected values from Dropdown in a concatenated manner shown in a Text field below dropdown (or can be preserved in general), I have used String to just concatenate the selection, however, we should be able to use a List or an Array to store the selected values.

The workflow uses the Latest form features and hence there was no need for Javascript to be used.
Forms_Dropdown_OnChangeTriggers.zip (9.0 KB)

Let us know if this does not work for your case and let us know why if not.

Thanks @supermanPunch I got the idea and used trigger and it works. But Just one question, Instead of Join I want to show the text bar for every selection. that is in your example, if i first select “a”, I should have text box with “a”, Then let say “c” then below “a” a new text box with "c"and so on… thats my idea. That user can select one or more and then i want to use it for another purpose all the selected values.

Thanks and looking forward for idea.

@tarangmehta1195 ,

Are the multiple text boxes just for the representation for the users ? We could also do this part with the help of Data Grid and datatables I believe as the trigger part is already set, we would just need to introduce the datatable/DataGrid as Inputs to the form.

This is currently handled by separating each value with a Semi-colon, we can split based on semi-colon and get the values entered by user.

We can open up a separate topic on the datatable text boxes representation where you can provide a more clear view on the expectations if at all you were not able to progress from the suggestion provided.

@supermanPunch Yes some thing like this but Then i would like to use it in the another trigger to input this values. I will open a case and tag you .

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.