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 / Make a field visible b...
Power Apps
Unanswered

Make a field visible based on another field of another entity on Custom Page

(0) ShareShare
ReportReport
Posted on by 11

Hi,

 

I have a edit form on a Custom Page of Lead Entity. I want to make a field visible on my Cutom Page based on a condition. The condition is a yes/no field on another entity. There is no connection (e.g. Lookup field) between these two tables. 

 

If e.g. this field equals Yes then the field on the Custom Page should become visible, and if No the field should be hidden/invisible. 

 

 

It would be greate if someone could suggest a solution, or let me know if there is any solution at all.

 

Best regards

 

Categories:
I have the same question (0)
  • MrsRDj14 Profile Picture
    168 on at

    Hi @Travika on the Visible property of the field write your if else statement:

    Visible property: if(condition = "yes", true, false)

     

    Please let me know if that answers your question.

    Kind regards

    Rosie

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You can use below formula on visible property of the field which you want to hide -

    If(DataCardValueLookUp.Selected.Value="XYZ", true, false) OR you can directly use DataCardValueLookUp.Selected.Value="XYZ" as it reduces to true/false

    Here DataCardValueLookUp is your lookup control name

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    DataCardValueLookUp.Selected.Value="CONDITION" 

     

    If this is true it will be visible else it will be false.

     

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

  • Tavarish Profile Picture
    11 on at

    .

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    It is because for example you are trying to compare a boolean with a text. 
    What data type does 'Show Deactivation Email (Country Settings)'.Yes return?

    What data type does DataCardValue2.Selected.Value return?

  • Tavarish Profile Picture
    11 on at

    The 'Show Deactivation Email (Country Settings)'.Yes is boolean field, it returns true or false.

    But the problem is not with this field because after '&&'  in my Formula I want to compare DataCardValue2.Selected.Value which is a optionSet field on my Page with a OptionSet field on another table. (These are global OptionSet with the same values on diferrent tables). They have same values. 

  • Tavarish Profile Picture
    11 on at

    Hi, Thanks for your answer,

    But i Dont have any LookUp field on my Page. Waht do you mean by lookup field?

  • Tavarish Profile Picture
    11 on at

    Hi,

    anybody here any idea according my first question above in this post?

    Is it possible to use a field from another table to make one field on Edit form of Lead visible/hide?

    Beacuse I could'nt find any solution.

    I would any appreciate any feedback.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard