Static and drop down buttons
# 🤝help
c
Hello everyone, I'm working on a UI with a dropdown list of available appointment times. Additionally, I want separate static buttons below this dropdown for actions like "Try Another Day" and "Go Back." Is there a standard way to combine a dropdown with static buttons like this? If not, are there any workarounds? I don't believe it's practical to mix navigation UI buttons with the dropdown of appointment times. I have tried assigning multiple variables to a single button card and triggering multiple button cards in a row, but I cant get anything to work. Thanks for your help!
n
you want the user to see the times and the other two buttons at the same time, so that they select one choice correct?
What happens when you show the dropdown and immediately after the two buttons as single choice
c
Yes I am wanting to display a drop down button containing all available timeslots, then below that have static navigation buttons like "try another day" and yes the user will choose one. They will either choose an appointment time from the dropdown or use one of the static buttons like "try another day"
n
and does that work?
is it too many options to be single choice buttons?
c
No because I only have the options to display either a drop down or static button, from my understanding if there more than 8 button it automatically puts it into a dropdown. Weres I want to have a dropdown for all the available appointments (which may be 20 buttons) then below that have the static ui buttons for navigation like "try another day"
n
ok i see. And when you show the dropdown it doesn't show right after the single choice button?
you could do a workaround
c
theres a dropdown which has all my appointment times, then I want to have two buttons below that for navigations liek "try another time"
n
you can create 2 intents to be placed in that node and listen for those 2 scenarios, as well as set up AI transitions
i believe those are 2 alternatives
got it, but the single choice button is not appearing until the user selects one from the dropdown, is this correct?
c
Yes So I can setup another button card with the static button but yes the user would have to select somthing from the drop down or type somthing to get to the next card. however I am wanting to have it all show at once
n
ok interesting, have you tried showing different single choice cards at the same time one after the other but showing 5 options, i think the limit is 5 for webchat
and the last option of those 5 could be "try another day" and the other you just set up an intent or ai transition to handle the going back
c
To clarify I want to keep the dropdown for the appointment times, as there may be like 5-20 options and then separately I want to have a couple of static buttons below it for navigation ui. I have tried showing mutiple single choice cards one after the other. However in botpress from my understanding you can only have one button card running at a time and it wont move to the next until the user has either typed somthing or selected a button. And yes I have currently got it setup with intents like you suggested, however the user has to type out "try another day" and I was hopping there was a way to have it as a button
n
I think this might be a limitation not sure maybe @bumpy-butcher-41910 can help
What you can do in the message showing the drop-down could be to mention “otherwise type another day or go back” while you handle via intents or AI transitions
c
Thank you very much for having a go at helping me, i really appreciate it! and hopefully @User may have some further insight for a work around
And thank you for your suggestion, this is currently the workaround I have, however I think, if possible it would be more convenient and professional to have it as buttons. But if not possible then this will have to do
n
For sure happy to help where i can, sometimes i hop on discord and go on a helping spree
2 Views