web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Customised PopUp Confi...
Power Apps
Answered

Customised PopUp Confirmation 'Yes No' message box in Canvas

(0) ShareShare
ReportReport
Posted on by 527

Hi,

Is there any way to get Customised PopUp Confirmation 'Yes No' message box like Microsoft VBA with Code in PowerApps with out TextInputbox Grouping.

 

knsrinath_0-1623771416317.png

 

Thanks & Regards

 

 

 

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Take one Label use fill property to fill it. add text like "Are you sure?" take 2 buttons yes and no. Set them inside label.

    Group them together and set groups visible property to variable. Let's say "varPop".

    on your form's submit button instead of writing submit form code. Write

    Set(varPop,true)

    this will display the popup on screen when user click on submit.

    On pop up's NO button write

    Set(varPop,false)

    so pop up will hide when user will click NO

    on pop up's Yes button write your submit button code.

    OnSuccess of your form write

    Set(varPop,false)

    so when form is successfully saved pop up will be hidden again.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @knsrinath 

    Please take a look at the attached app.  It contains a component called message box that provides the look and feel you are seeking. 

    It is a reusable component in the app that can be used in any app.

     

    To open the attached - first download.  Then open an existing app or create a new app.  Once the app is open in the designer, click on File->Open->Browse and then choose the downloaded file.

     

    I hope this is helpful for you.

     

    @zmansuri 

    Keep in mind that Groups do NOT have properties.  They are just all controls grouped together.  So when you are changing what "appears" to be a group property, you are really just changing all of the controls in the group with that property to a new value.  I only mention this because I have seen people blow away formulas they have spent more time on than they want by changing a "group property" thinking that it was for the group...not the controls in it.

  • knsrinath Profile Picture
    527 on at

    @RandyHayes 

     

    Its Working fine,Thank You!

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Thanks. I will keep that in mind.

  • dfmuniz Profile Picture
    3 on at

    Would it be possible to customize the "Yes", "No", ... labels to another language?

    dfmuniz_0-1696259318317.png

    UPDATE (Answering myself) Yes!

    dfmuniz_3-1696266487491.png

     

     

    dfmuniz_2-1696266363581.png


    dfmuniz_1-1696266336071.png

    NB1: Use UTF-8 encoding for Yaml file in order to propering display accent marks (for instance, tilde on "Não" Portuguese word)

    NB2: Unpack e repack .msapp file using the following method : Power Apps Guide - Code - The new easier way to pack and unpack canvas app source code - Power Apps Guide - Blog

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard