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.

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (1,492)