Overlay two elements that should be displayed on condition

Hi there!
I’m doing my first project and would like to display either button A or button B on a page depending on whether my current user has 0 or greater than/equal one token.
Right now, I’m struggling to position both elements in such a way that they overlay each other (since the user will see either A or B). Claude advises me to add the exact coordinates but there doesn’t to be such a possibility in the properties editor.

Also, would you solve the question whether A or B is being displayed through a workflow or in the property manager with a condition? I tried both and didn’t succeed yet. :smiley:

Do you have any hints for me? Thank you!

Hi, if your said “token” can be referenced from the Data table, that should make it easier,
you can simply use the condition tab in the property editor to make either button visible or not

[quote=“isabelle, post:1, topic:355003”]
depending on whether my current user has 0 or greater than/equal one token
[/quote].
This is just one way to go about it, lemme know if it works

1 Like

You just need to put the buttons next to eachother and set them to collapse when not visible based on the condition you want. When one isnt visible the other is and will take its place in the parent group

1 Like