Choose random value from dropdown menue

  • Автор темы Автор темы morpheus93
  • Дата начала Дата начала

morpheus93

Client
Регистрация
25.01.2012
Сообщения
1 068
Реакции
257
Баллы
83
I need to choose a random value from a dropdown menue with variable amount of values. For example I choose Audi in the first dropdown and then there are 20 different models available in the second dropdown where I want to take a random one. If I choose BMW there a 30 different choices where I like to select random one and so on...

What's the easiest approach for that?

Thank you :)
 
I would recommend you using Switch logic action.
And depending on first choice in main menu, make logic for other dropdown lists.
 
I would recommend you using Switch logic action.
And depending on first choice in main menu, make logic for other dropdown lists.

Okay, I understand what you mean. But if the number(quantity) of values in the dropdown is not the same every time and I want to be sure to select one random value out of them, how can I make that?
 
Okay, I understand what you mean. But if the number(quantity) of values in the dropdown is not the same every time and I want to be sure to select one random value out of them, how can I make that?
Parse number of choice at first, then choose some variant depending on parsed number of choices.
 
  • Спасибо
Реакции: morpheus93

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