cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisSullivan
Helper III
Helper III

Having Radio button selected when item is selected in another dropdown.

I have a Dropdown (DD1) with many items that can be selected. 

For each item I have a selected in (DD1) a set of radio buttons that will appear. 

 

The idea is if the item in DD1 is selected the radio buttons appear and the user can check the radio buttons. This part works great.

 

What I want is if you deselect the item in DD1, I want the value of the associated  radio buttons to reset, and update back to Sharepoint that nothing is selected. I've tried every way I can think off and I'm just spinning wheels. 

I have tried about everything. Even making a simple button to reset the radio control errors out. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisSullivan
Helper III
Helper III

I figured it out, It was just acting strangely in the previewer.

In the Radio Control Default I put,

If('DataCard'.Visible, ThisItem.'DataCard'.Value,"None")

Then if the Item in DD1 is selected the radio buttons are visible, and the users checks a radio. If they deselect the item from DD1 dropdown, the radios visibility is turned to false, and it returns the radio selected to "None" When the form saves "None" gets updated to the SharePoint column. 

 

View solution in original post

2 REPLIES 2
ChrisSullivan
Helper III
Helper III

I figured it out, It was just acting strangely in the previewer.

In the Radio Control Default I put,

If('DataCard'.Visible, ThisItem.'DataCard'.Value,"None")

Then if the Item in DD1 is selected the radio buttons are visible, and the users checks a radio. If they deselect the item from DD1 dropdown, the radios visibility is turned to false, and it returns the radio selected to "None" When the form saves "None" gets updated to the SharePoint column. 

 

Hi,

 

Thanks for your follow up post! I am glad that you were able to get this figured out. Hopefully this will prove useful for future communities users who are having similar issues.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,378)