web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create Mandatory text ...
Power Apps
Answered

Create Mandatory text based on other two yes/No field

(0) ShareShare
ReportReport
Posted on by 9

Hi All, 

 

I am having two yes/no Boolean field in SharePoint list.  If both the "FieldA", "FieldB" toggles = yes and someone changes either one of them to no on powerapps edit screen, We need to make third field mandatory(ReuiredReason) to fill the reason in PowerApps Screen. 

 

I tried with different approach but its not working. 

Categories:
I have the same question (0)
  • Bipin D365 Profile Picture
    971 on at

    Hi,

     

    Use below formula on your Required Reason Data Card Required Property

    If(!DataCardValue15.Value Or !DataCardValue16.Value, true, false)

    bipinshan_0-1639480432512.png

     

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: https://xrmdynamicscrm.wordpress.com/

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @neerajalig,

    Do you want to make a field mandatory when fieldA or fieldB toggles changes from Yes to No?

    Could you please share a bit more about your scenario?

     

    Actually, only when both the "FieldA", "FieldB" toggles with Yes value will trigger the action, right?

    Assume that you have these fields in a form.

    Set the Required property of the data card as below:

    If(
     ThisItem.fieldA = true && ThisItem.fieldB = true,
     If(
     DataCardValue9.Value = false || DataCardValue10.Value = false,// Here are two separate Toggles
     true,
     false
     )
    )

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard