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 / if function in required?
Power Apps
Answered

if function in required?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,
I do not quite know how to make this one work. I want it to be "true" when "Regnskabskunde" has been selected in this field. Are there any who can help with that?

 

See Pictures 

Regards PHH

Anmærkning 2021-01-04 104146.jpg
Anmærkning 2021-01-04 104233.jpg.....jpg
Categories:
I have the same question (0)
  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    If you set the required property to the following, the field will be required when the value of Kundetype is "Regnskabskunde"

    ThisItem.Kundetype.Value = "Regnskabskunde"

    It would probably be best for you to reference the control on your form that relates to Kundetype rather than ThisItem.Kundetype.Value, because the latter will remain constant and refer to the initial value, and the user will not be able to change this.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi again @timl,

    Can you show me how I do that? I want that when an "Regnskabskunde" has been chosen that it then becomes true.

    -PHH

  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @Anonymous 

    Just to confirm, you would like the field to be required when a user selects the "Regnskabskunde" radio option? image.png

    If so, you would use the following (and replace Radio1 with the name of your actual control)

     
    Radio1.Selected.Value = "Regnskabskunde"

     

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard