Notifications
Announcements
Hello
How do i give each radio button a different OnSelect function. It seems I can only change the OnSelect function of the "Whole set" of radio buttons?
I am a beginner
Thank You
Lorcan
You can use an If or Switch statement fire off different formulas based on what is selected. In the example below I am setting a variable with different values based on what is being selected.
Radio Buttons > OnSelect
If(Radio1.Selected.Value = "1", Set(gvTestRadio, "One"), If(Radio1.Selected.Value = "2", Set(gvTestRadio, "Two")))
Hi @Anonymous,
Like @Jeff_Thorpe suggested, Radio control is recognized as one control for PowerApps. Thus you cannot define each part of Radio in the formula. But you can workaround this by identifying which value is selected in Radio control. Work with IF function, using something like:
If(Radio1.Selected.Value="1", .... , ....)
For more information about IF function, please refer to:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-if
Regards,
Mona
Can you help me? i want that when user will select "No" option from the second question will appear dynamically.
@Roza You should really create new posts to ask new questions, then you can separate the discussion from the above question and mark a correct solution as your own. Please do not ask new questions in the comments of someone else's post. You won't get many answers (as evidenced by asking this over a year ago).
However, you can set the Visible property of the 2nd data card to be true if the "No" option of the previous data card is selected and False otherwise.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268