Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Change a mandatory field (parentcustomerid) to optional as soon as checkbox gets checked

(0) ShareShare
ReportReport
Posted on by

Hi,

we have a requirement to set the mandatory field parentcustomerid (lookup) to optional as soon as the field xxx_noorgfound is checked. 

I know there is a possibility with some kind of validator, however I did not manage to make it work, since I was not sure where to insert my field values.

 

Thanks in advance for the effort.

  • Community Power Platform Member Profile Picture
    on at
    Re: Change a mandatory field (parentcustomerid) to optional as soon as checkbox gets checked

    Hi @v-qiaqi-msft ,

     

    yes exactly. We have an registration form (contact form) where the user can search his ORG via the mandatory Account lookup (parentcustomerid). If the user does not find his ORG he can check the checkbox beneath the lookup "I dont find my org".  Thus we want to make the Account Lookup (parentcustomerid) optional as soon as the user clicks on the checkbox.

     

     

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Change a mandatory field (parentcustomerid) to optional as soon as checkbox gets checked

    Hi @Anonymous,

    Do you want to make the required field optional when the checkbox gets checked?

    Could you please tell me more about your scenario?

    Go to the Required property of the data card corresponding to parentcustomerid, and set as below:

    If(Checkbox1.Valule,false,true)

    Check if this could help you.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35