How many buttons can be created with Alert button list?

Hi,

Hope you are all ok.

I tried to create more then 3 button with alert button list, but it only create 3!

In docs it says “Alert with three or more buttons” but…

I am trying this way:

How can i create more buttons?

Thank you all.

Stay safe.

I recently made a working alert with 6 buttons, each with its own action.

Hi @jared

Thank you for your answer.

I am trying in Android…is that a reason?

Can you share an example of your alert for me to test it?

Thank you very much.

Remix SandboxApp

In the side navigator, check out screen “animation doesn’t glitch”

Click the button that says button

giphy (20)

@jared thank you, but something is not right.

The diference is that you pre define the buttons. I did that also but the max buttons i see is three. I pre defined 5 buttons!

I am using thunkable live to test the app on android.

Here is an example: https://x.thunkable.com/copy/933fcd173588b07da719f5c0cb4ec74f
What is wrong?!

Thank you.

@jared one more thing. When i click button the alert has only three buttons: one on the left side and two on the right side.

Perhaps this is a difference in capability between iOS and Android. on my iPhone, i am able to see all of your button choices.

Thank you for answer.
I’m sure that is the problem.
:frowning:

To solve this, you can make your own alert menu.

in the sandbox app, go to the screen, Animated column/row.

make your own alert box with custom buttons.

giphy (21)

I know this is a pretty old thread, but there’s a LOT of unanswered threads about custom alert buttons.

Here’s my solution to this problem. I couldn’t find the answer anywhere so I just messed around with it.

Turns out you can make as many as you want. But only 1 of them can be colored red (destructive)
If you try to make more than 1 destructive it only makes the last one that’s destructive actually red.

This also prevents you from being restricted to what you manually create in the Thunkable editor screen.

Cheers

3 Likes

Also there is a difference between iOS a d Andriod.
From thunkables website for DnD
"On iOS, the Alert can show more than 3 Buttons.
On Android, the Alert can show up to 3 buttons. If more than 3 buttons are specified, the first 3 will be shown. "

3 Likes

Thanks for this, I didn’t realize this was already in the thunkable docs.

That’s very helpful to know android limits them to 3 also

2 Likes