How to hide options in the bot interface? (doubts)

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

cesario678

Client
Регистрация
10.03.2022
Сообщения
227
Реакции
13
Баллы
18
I would like to include some options, such as health, cinema, and prosperity. When one of them is selected, the others should disappear and specific options for the selected category should appear. When switching to another category, all fields should disappear and new options for the chosen category should show up. Can someone tell me how to do this? Does anyone have a code example I can use as a reference to get an idea of how to create this? Thanks.
 
It is possible to make such hidden options via html code, see Open code where you can edit html of bot ui interface.
 
It is possible to make such hidden options via html code, see Open code where you can edit html of bot ui interface.
This HTML code that creates something which shows some options and hides others when certain choices are made — what would that code look like? Can you give me an idea of how it would work, and where I would place it?
 
Are you trying to put this as a dropdown on a page? Or are you trying to pick a drop down? Are you doing this in Input Settings? Kind of hard to tell what you are trying to do by your explanation
 
Are you trying to put this as a dropdown on a page? Or are you trying to pick a drop down? Are you doing this in Input Settings? Kind of hard to tell what you are trying to do by your explanation
I want to do the following with input options would like the following: when I start my maker project, I have input settings. Let's say I have languages — English, Portuguese, and French — in a dropdown. Let's say I select the Portuguese option in this dropdown; automatically, other options appear, such as countries that speak Portuguese, cities in Portuguese-speaking countries, etc.
Then, if I choose English, it should show options like countries that speak English and cities in English-speaking countries. All these options should be variables. I just need an idea of how the script would look so I can build something like this. Did you understand?
 
Yes, I understand. Unfortunately I don't believe that is able to be done in the current Input Settings. You can do it in the Bot Interface, where there is a code editor. Maybe one of the developers will add it in for you. I'm just a carpenter and could probably do it, but it would require a lot of time to study. I did find a reference that maybe the developers could add into your situation. Here's a link to the W3 Schools example

Multi Select Dropdowns
 
  • Спасибо
Реакции: cesario678

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