cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LucieRipova
Frequent Visitor

Checkbox with continuity to another checkbox

Hello,

 

I have Gallery (data is from Excel) and there I have checkboxes. When one checkbox is checked Patch function writes it to the database. But I have continuity on some of values. In this case is continuity called "Vozovy park" and I want that where is "Kniha jizd" checked it is automatically checked "Vozovy park".

 

Thank you for your help
Lucie

 

funcmod.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
PatilChetan
Resolver I
Resolver I

@LucieRipova 

 

Try below

 

App - Power Apps - Profile 1 - Microsoft​ Edge 4_14_2021 7_19_35 PM.png

 

Regards,

Chetan

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

5 REPLIES 5
PatilChetan
Resolver I
Resolver I

@LucieRipova 

 

Try below

 

App - Power Apps - Profile 1 - Microsoft​ Edge 4_14_2021 7_19_35 PM.png

 

Regards,

Chetan

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

LucieRipova
Frequent Visitor

Can this works for gallery? I have values(Pokladna, Majetek, Vozovy_park, Fakturace, Kniha_jizd) in database(Excel tables) and I want to load it from there. I tried something like this:

 

OnCheck\Uncheck
If(FunkcnimodulyEko.Value = "Kniha_jizd"; FunkcnimodulyEko.Value)

But it doesnt work.

 

In Default I have

ThisItem.Jadro_systemu ||ThisItem.Porizeno = "isTrue"

 

@LucieRipova 

Yes, this will work for gallery.

 

Didn't get below code. What you want to achieve?

Spoiler

OnCheck\Uncheck
If(FunkcnimodulyEko.Value = "Kniha_jizd"; FunkcnimodulyEko.Value)

But it doesnt work.

Regards,

Chetan

LucieRipova
Frequent Visitor

I know how you mean it with two checkboxes (have own name), but I dont know how do it in gallery. Im tried to approach an element in gallery with:  FunkcnimodulyEko.Value = "Kniha_jizd"

 and after it I need to do something like "Vozovy_park" = true

 

Thank you
Lucie

@LucieRipova ,

 

The "FunkcnimodulyEko" is a Checkbox, so it will always return Boolean value when you write FunkcnimodulyEko.Value this way. Write FunkcnimodulyEko.Text to get label name of the Checkbox.

 

Regards,

Chetan

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,735)