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.
Solved! Go to Solution.
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.
Hi @Joseph_Nasr
You can go for gallery for adding medicine details based on the medicine select for each visitor.
Hope this helps.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.
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
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
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?
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.
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.
If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.