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 Pages / Show user the status o...
Power Pages
Answered

Show user the status of his/her application when he/she logs in

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,

 

I have a form. The form is a profile page form. When a user submits the form, by default he is assigned a role as "authenticated user". However, he cannot proceed further as I have other pages which are only visible when an approver assigns him a new role. So, the approver has the ability to approve/reject his application. For that purpose, I have a column named status with fields as "submitted","approved","rejected" in the contact table. I want to show a text when the user logs in to show him the status of his application. How can I achieve that?

 

@Lucas001 , @saudali_25  may be you have already implemented this before?

 

Kind Regards,

Hafiz

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @Anonymous,

     

    I believe you want to display the message in your profile, correct?

    There are 2 way depending on the look you want to have.

    You can either create a text field inside your form and just show that inside the form. Making it read only and hide the label, depending on what you want to achieve. As the field will be empty in the beginning you can use jQuery to hide it. Even better .remove() it to get the slightest of an performance improvement.

    const oneOfYourFields = $('#ProfileFormView > div.tab.clearfix > div > div > fieldset:nth-child(2)');

     

    The second option would be to .hide() the field always and if the field !== null display the .val() inside a textbox which you insert on the profile page after the description for example.

     

    //If to check your field inside the form
    if (yourField.val() !== "") {
    
    // Adding a paragraph with the text and styling it a bit
     $('<br><br><p class="xrm-attribute-value" style="color: #3cb371">Your Message</p> <br><br>').insertAfter('#headerProfile');
    
    // Hiding your field
     $('#mainContent > fieldset:nth-child(8)').hide();
    }

     

    Hope that helps.

    Please mark the post as solution if it solves the problem. Consider a thumbs up if it helps you.

  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @Anonymous ,

     

    Why don't you add your status column on your profile details page? If you add this status column on your profile details page may be in a separate section as Application Status. 

     

    On the other hand, if you want to show a notification may be an alert at top of your application. You can also achieve this using jQuery.

     

    Let me know it works for you or you need more details.

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is the exact solution I was looking for. Thank you very much @Lucas001 .

     

    I have another question regarding this. When user submits profile form, he/she does not get the message that your profile has been successfully updated. Can we do this? @Lucas001  @saudali_25 ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @saudali_25 ,

     

    Thank you so much for providing another option. However, client wants to show/hide notification based on the application status. Thanks again !!

  • Verified answer
    Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @Anonymous,

     

    usually a success message after submitting the form is automatically displayed. Wonder why it isn't on your page.

    Other than that you can use the button onClick Event to do something.

     

    <script>
    $(document).ready(function() {
     $('#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton').on("click", function() {
     alert("Hi there!");
     });
    
    });
    </script>

     

    If that is not helping directly, please close this thread and open a new one. Just for issue separation.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Anonymous 

     

    The simple way to get notify the users is to configure the success message (OOB solution). As @Lucas001  mentioned this should work.  

    To configure it: The official link here 

     

    If you still have a hard time. The other simple way is to trigger power automate to send email notifications when the dataverse record is created / status changed. (based on your need) 

    Hope it helps.
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @Lucas001 , @saudali_25 & @ragavanrajan for your support. It is really appreciated. Thanks again !!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
Valantis Profile Picture

Valantis 46

#2
11manish Profile Picture

11manish 46

Last 30 days Overall leaderboard