Behavior Confirmation, how to remove NO as an option

I have a behavior configuration that is using Confirmation to alert a user of a condition. There is an example of the exact thing I am trying to accomplish at

https://www.appsheet.com/templates/How-to-use-an-Event-action-as-a-popup-message?appGuidString=5494b6e9-d6ae-44d0-b7a9-daad35576cb0

In the example the only option is to ‘Close’, on mine there is a ‘No’ and a ‘Close’ How do I get rid of the ‘No’ option?

You can’t. But you can make it invisible, by localizing “No” to a blank string.

Note that this will take effect over every instance of “No” in the entire app. You can use CONTEXT() if you need to limit it at all.

2 Likes

Thank you

Hi. Thanks for this solution but it doesnt work for me. I have tried hard coding the no with an empty string, but the confirmation still shows a no. Can you tell me where am i going wrong?

I did the exact same thing. went to localize and changed it to an empty string.

Rather than an empty string, try a string with only a single space.

No:

""

Yes:

" "