cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

change a value if another field is selected too.

I need that a YES / NO field to change if another is selected. How can I do it? Should I set any rules?

Example: 

If delivery services is true, 

Development  should be true Or yes too

 

Thanks for help !!!delive.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

@stefanyobando 

Put this code in the OnVisible property of your screen.

 

Set(resetToggle, false);

 

Next, use this code in the OnChange property of your delivery services toggle

 

Set(resetToggle, true);Set(resetToggle, false);

 

Finally, put this code in the Default property of your development toggle.

 

Toggle_DeliveryServices.Value

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

@stefanyobando 

Put this code in the OnVisible property of your screen.

 

Set(resetToggle, false);

 

Next, use this code in the OnChange property of your delivery services toggle

 

Set(resetToggle, true);Set(resetToggle, false);

 

Finally, put this code in the Default property of your development toggle.

 

Toggle_DeliveryServices.Value

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

View solution in original post

Highlighted

What do I do when there are more values? For example, I have more '' toogles '' so I need for example: Delivery services is ''yes'' when '' sales = yes '' and '' accounting = yes '' 

In the default value, I need them to be more than 1 value. Example:

 

Default:    '' toogle_sales.value AND toogle_accounting.value. ''

 

How can I make that work for me?

Highlighted

Is fixed with OR condition into Default Property !! 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,734)