cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Patch List Box to Boolean

Hi

 

I need some help I have a List Box with 3 values A,B,C . When the value A is selected and the user click the submit button I want to patch to a boolean field. If the the List Box value is A i want the boolean to be set to True/1 if any B or C are selected then leave the boolean as is False.

 

How is this possible?

 

thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

@Anonymous 

In your patch, set the field you are patching to:  ListBox1.Selected.Value="A" 

this formula reduces to either true or false.

View solution in original post

1 REPLY 1
Drrickryp
Super User
Super User

@Anonymous 

In your patch, set the field you are patching to:  ListBox1.Selected.Value="A" 

this formula reduces to either true or false.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,529)