Hi UiPath Community
I have two dependent Dropdowns:
example:
dropdown1: new List(of String) from {“a”,“b”,“c”,“d”,“e”}
dropdown2: new List(of String) from {“a”,“aa”,“aaa”,“aaaa”,“b”,“bb”,“bbb”,“bbbb”}
I want that: if dropdown2 have the letter “a” (it could be “aa”, “aaa”…) in its value then the dropdown1 should have “a”
I know how to define the conditions one by one but I don’t know how I can set the If statement in once condition?
example: If dropdown2=“a” or “aa” or “aaa” or “aaaa” then dropdown a = “a”
Similar conditions can be used for “b”, “c” etc…, The above regex pattern checks for the string to match with one or more occurences of “a” and also makes sure that the string starts with “a” and ends with “a”
Hi @Nishant_Tanwar Thank you so much I will check it.
I have another question.
Do you know how to close a form without cancel button? I meand like in one logic I would like to check if an event happens (click on click button, text has value…) the action will be triggered which closes the form directly.£^
Unfortunately window.close() is not working in Javascript inside logics.