Other & close buttons

Hi,

I have a custom form in my app, where a user can add a choice to the list of choices. To do this they click an “other” button which then shows a text box to type in the new choice.

I have it set so that when they click other this sets a boolean in the table, the other button then disappears and the close button appears, which when pressed changes the same boolean.

The issue I have is that the speed of setting the boolean value means one button will flash side by side when interacting with the other, before disappearing.

I want it to disappear immediately.

Any suggestions?

thanks

Could you show us a picture (preferably a video) of what you mean…

Also instead of using buttons, I would use action rows.

Here is how to set it up. using action rows, if you have any questions happy to help.

1 Like

Do you have these conditions set up all in one button block or in 2 separate button blocks?

I’ve found that using separate button blocks allow for a smoother transition between actions, as opposed to turning actions off/on on buttons in a multi-button block.

Thanks for this Michael, I will look into your solution today. Have a great day.

Hi Sekayi,
Yes I’m using a multi block, will try with separate buttons. thanks for your help. Will let you know how it goes.

1 Like

I’ve tried both suggestions, the issue still arises. It must be fundamentally related to the speed at which glide can change the boolean value, since the different approaches you both suggested on the UI end do not resolve it.

You could try using a check box :ballot_box_with_check: instead of a button.

Would work but it doesnt look right for what I’m after. Thanks for the suggestion though.

Another option could be to make your own button using HTML and the rich text component. Put the code in a template column and use replacements to change the code on the fly

That’s interesting Eric, will look into that, thanks

1 Like

If I understand correctly, you can use a custom action for a single button to achieve this.

Screen-Recording-2024-10-09-at-0

Screenshot 2024-10-09 at 08.43.47

6 Likes

Right…

Ahh ok fantastic, I did have the custom action but didn’t realise we could use table data as labels. Thank you for this. And thanks to everyone for your replies.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.