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

SharePoint form input field appear when radio button choices selected

I am new to Powerapps and learning via youtube on the fly. I have a SharePoint site for ordering office supplies. I want to make a radio button field containing different items (multiple selections allowed) then when an item is selected a input box appears so people can enter the desired quantity.

 

example:

Radio button field called "supplies needed" contains a selection for pencils, pens, paper. When pencils is checked a box will appear asking "please enter the desired number of pencils". I'd like to allow multiple selections so a box will pop up for each selection. I searched online and think I can do it based on set visibility based on value selected in supplies needed, but it didnt work when multiple items were selected. Any help would be greatly appreciated

 

 

also second very newbie questions. For those pop up fields to enter the quantity does there have to be a corresponding field in sharepoint for that to feed into?

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Earl20 

You will need to consider something beside a Radio control for your multiple selections as Radio controls only allow one selection.

Either a combobox or a list control or checkboxes would give you that ability.

 

If, you choose a listbox for example, your Items property for the listbox would be: ["Pencils", "Pens", "Paper"]

Then, for the visibility of the other control, you can use a formula such as this on the Visible property of those controls:

    "Pencils" in yourListBox.SelectedItems

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User III
Super User III

@Earl20 

You will need to consider something beside a Radio control for your multiple selections as Radio controls only allow one selection.

Either a combobox or a list control or checkboxes would give you that ability.

 

If, you choose a listbox for example, your Items property for the listbox would be: ["Pencils", "Pens", "Paper"]

Then, for the visibility of the other control, you can use a formula such as this on the Visible property of those controls:

    "Pencils" in yourListBox.SelectedItems

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,924)