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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,651)