Skip to main content

Notifications

Power Pages - Design & Build
Answered

How do I create popup message when I complete the all quizzes

(0) ShareShare
ReportReport
Posted on by 74
Hi, 

I created quiz app with 5 type of quizzes. I want to create a popup message that will show that all quiz is pass. 
 
How do i do it ? 
 
 
 
The left nav is gallery. 
 
Thank you
Categories:
  • Verified answer
    ronaldwalcott Profile Picture
    ronaldwalcott 1,345 on at
    How do I create popup message when I complete the all quizzes
    Something like (not exact because I don't know your collection or variable names)
     
    If (CountRows(OverAllQuizResult) = CountIf(OverAllQuizResult, theQuizColumnResult = "true"), UpdateContext({makeVisible: true}),UpdateContext({makeVisible: false}))
     
    You have to decide where this would be initiated. 
     
    The visible property of the container would be set to makeVisible
  • daywalker_567 Profile Picture
    daywalker_567 74 on at
    How do I create popup message when I complete the all quizzes
    Hi,
     
    Thank you for you reply @ronaldwalcott
     
    Can you show me the code how to do it? 
     
    Thanks.
  • Suggested answer
    ronaldwalcott Profile Picture
    ronaldwalcott 1,345 on at
    How do I create popup message when I complete the all quizzes
    Check if the count of all rows is equal to the count of all rows where the result is true. That will tell you if all of the answers are correct.
  • daywalker_567 Profile Picture
    daywalker_567 74 on at
    How do I create popup message when I complete the all quizzes
    Hi, 
     
    Additional information, 
     
     
    Everytime the user completes the exam value of false become TRUE. 
     
    The goal is, if the value of OVERALLQUIZRESULT are all true. 
     
    The popup Message will appear. 
     
    I wish you can help me with this. 
     
     
    Thank you
  • daywalker_567 Profile Picture
    daywalker_567 74 on at
    How do I create popup message when I complete the all quizzes
    Hi, 
     
    I have a code. 
     
     
    This code represents that I will collect the Status of 4 exam. If the 4 exam tag as FINISHED. The message pop up will appear. 
     

     
    Thank you
  • Suggested answer
    ronaldwalcott Profile Picture
    ronaldwalcott 1,345 on at
    How do I create popup message when I complete the all quizzes
    The simplest way is probably to use a container with several label controls and a close button. Add a variable to the visible property of the container. Set the variable to true when you want the popup. The close button will set the variable to false.
    When that works you can style the container as you see fit,

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard

Featured topics