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 / Display mode not working
Power Apps
Unanswered

Display mode not working

(0) ShareShare
ReportReport
Posted on by 118

This is not working for the button on the bottom right "Yes this is My ID Goto Next Screen"

The button is not switching.

 

Here's what I have in the 

DisplayMode = 

If(
(!IsBlank('sbox-Student_ID'.Text) && !IsBlank(gal_StudentID) && Len('sbox-Student_ID'.Text) = 7
&&
!IsBlank(LookUp('Student Thank You Cards for Donors',('sbox-Student_ID'.Text) = Student_ID)))
||
(!IsBlank('sbox-SCode'.Text) && !IsBlank(gal_SCode) && Len('sbox-SCode'.Text) = 9
&&
!IsBlank(LookUp('Student Thank You Cards for Donors', ('sbox-SCode'.Text) = SCode))),

DisplayMode.Edit, DisplayMode.Disabled)

 

This is for the button on the bottom right "Yes this is My ID Goto Next Screen"

 

Jeffrey_H_0-1707506990217.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,978 Moderator on at

    hi @Jeffrey_H 

     

    A couple of suggestions as we cannot see the values of some of these things, so there isn't a specific way to tell you which is wrong.

     

    1. in the mode you are in in this image, go to the code (as you have) and click on each item to see which one is not correct. Or "select" if its a longer section and see what the value it tells you (true or false in the bottom corner of the window)

     

    For instance highlight

     !IsBlank(gal_StudentID) starting just with gal_StudentID, then the whole thing

     

    If that doesnt help next

    1. Copy your cope and paste it below itself. Comment it out

    2. Then in the code that is NOT commented out, delete the Or || stuff totally and make it as if only the top stuff isbeing checked. See if that works. If not, then do the same thing for the bottom alone and see if that works.

     

    If neither work then its your variables, as the code seems written ok but again we cannot see the values


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Jeffrey_H Profile Picture
    118 on at

    I have attached the app and data

    This is a Sharepoint List but downloaded to Excel to share.

    I'm doing this so if you look again at this, now you have data and the app to look over.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard