Button lable change?

Hello! Can someone please help me with the button issue.

Basically i have a dataset thats a YES or NO.
If yes, it has the button label has to say Download, if No, the button has to say View. and then it has to redirect to an external website when clicked. i tried different things but nothing worked, can some please help me with this.

thank you!
Screenshot 2025-02-06 144443

Just use a condition.

tried using conditions, but it doesnt work

Of course it works, if you do it right…

1 Like

Condition added to the button:
[dataset name] is yes
Label: Download

Condition added to the button:
[dataset name] is no
Label: View

Workflow: Navigation - Open external website

i did the exact same thing but nothing changes, thats why i was wondering why it wasnt working.

Can you share screenshots with the conditions? It makes collaboration easier

please see the below

The condition is fine… so the problem must be elsewhere - i.e. in the parent datasource(s)

check the debugger to find the issue (or share a link to your editor).

Literally the answer to everything in life :rofl:

1 Like

Is it possible that you are storing a blank value in your boolean when it isn’t “Yes”?

This would happen if you don’t set the default value to “No” and only update it when something changes using a workflow.

Instead, you could change your condition to “…is not Yes” or fix the default value in the database.