Best way to deal with dropdown menu and random choice?

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Hi,

I have multiple drodown menus on a form, some with values of 1,2,3,4,5 but others with words value(like cities and so on). What is the best way to choose a dropdown menu with random values please?


Thank you,

Ben
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 453
Благодарностей
5 913
Баллы
113
Hi, Ben.

You can save word values to list and get lines from the list randomly. It should be possible to parse word values from dropdown menu element by getting its attribute "innertext" in actions designer.
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Nope, this is weird, when I set it as you describe the dropdown menu items show up really fast like if the variable was going through the whole table in one go item per item then the select dropdown returns blanc.
Now another solution I am thinking about, how to input random keystrokes please? Can I use a table and add in each row for example:
{enter}{down}{down}
{enter}{down}
{enter}{down}{down}{down}

Is this possible?

Thanks,

Ben
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Благодарностей
21
Баллы
18
Ok it worked:-)
I created a table with this inside:
{enter}{down}
{enter}{down}{down}
{enter}{down}{down}{down}
{enter}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}
{enter}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}



It is now working well as you only need to add the number of lines by drown down menu options.
I will do that for all my projects now, it is much easier...

Thanks,

Ben
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)