web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text Input Box for eve...
Power Apps
Answered

Text Input Box for every Selected Choice in ComboBox

(0) ShareShare
ReportReport
Posted on by 69

Hello everyone,

 

I am building a medical app for a Nurse to use to log Visits to his/her clinic.

 

When creating a new visit via a form in the app into a SharePoint List (i.e. when someone visits the Nurse's clinic), the Nurse will have to choose one or more medicine from a dropdown list/ComboBox (multiple selections are available) for that patient during that visit.

 

The Nurse is to also choose a quantity/enter the amount of each medicine chosen. How can this be implemented? I was thinking of creating text input boxes, but the problem is for Patient A the Nurse may choose 2 medicine items, but for Patient B the Nurse may select 5 medicine items.

 

Thanks in advance for any help. I really appreciate it.

Categories:
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Joseph_Nasr 

     

    You can go for gallery for adding medicine details based on the medicine select for each visitor. 

    Hope this helps. 

     

     

  • prajyot Profile Picture
    132 on at

    You can use the Form Control.

    Inside Form control add Textbox for name, add Textbox for quantity , add Combobox for medicine items. Make sure in  the Combobox set the property SelectMultiple to true. You should be able to submit the form into SharePoint List directly via SharePoint connector.

     

    Hope this helps !

    Thanks & Regards,

    Prajyot

  • Joseph Nasr Profile Picture
    69 on at

    Thanks for trying to help! Can you please tell me more about how can a gallery help in this case? My DropDown list of Medicine items is coming from a Sharepoint list called Medicine 

  • Joseph Nasr Profile Picture
    69 on at

    Nice approach but this does not allow you to set the quantities of let's say 3 selected  medicine items in the ComboBox does it?

  • Verified answer
    prajyot Profile Picture
    132 on at

    You can use gallery control with textbox ( quantity per medicine selection) and dropdown ( medicine items bind from SP) .

    Create submit button on the screen. Use Collect to push the data into sharepoint list.

     

    Hope this helps.

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    @Joseph_Nasr 

     

    Just bind a collection based on the combo box selection. Map that collection in the gallery and add required fields that you want to edit. 

     

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard