257
Views
8
Comments
Solved
Save selected values of Drop Down tag to a list to be used in another form

The selected values from my drop down tag should be stored in a list , the list should be used to fill the attributes of another  form.

Example : To save the number of students in each school of the particular city.  A drop down tag of number of schools available ( School A , School B , School C , School D)  in a particular city.  When the user selects 'School A '  and 'School C ' as the SelectedItems of the drop down.  

The number of Students of only School A and School C should be retrieved from the user using Input Widget. 

SchoolinCity.oap
2025-08-07 06-30-56
Amit J
Champion
Solution

Hi 

You can prefer attached oml.

https://amitj.outsystemscloud.com/SchoolinCity/


SchoolinCity.oap
UserImage.jpg
Cynthia Maria

Hello Amit , this is exactly what I was looking for . Thank you so much. 

2025-08-07 06-30-56
Amit J
Champion

Can you mark solved my solutions.

2025-08-07 06-30-56
Amit J
Champion
SchoolinCity.oml
2019-09-30 07-35-56
Aurelio Junior

Hi Cynthia,

If I understood your requirements correctly, this would be one way to do it. Please take a look at the logic and feel free to ask any further questions.

SchoolinCity.oml
UserImage.jpg
Cynthia Maria

Hi Aurelio , the solution is clear and precise . Thank You 

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Cynthia,

As per my understanding, I guess you are trying to list all the selected City Schools (using DropdownTags) details inside the Block. If so, you can check the attached oml.

In my solution I have used Advanced SQL, but you can also achieve the same by defining loop logic (may be by using ListFilter etc..).

See this sample: EnterNumberOfStudents

Refer to the attached .oml file.


I hope this helps you!


Kind regards,

Benjith Sam

SchoolinCity.oml
UserImage.jpg
Cynthia Maria

Hello Benjith , thank you so much . I appreciate the detailed solution , very insightful.

2025-08-07 06-30-56
Amit J
Champion
Solution

Hi 

You can prefer attached oml.

https://amitj.outsystemscloud.com/SchoolinCity/


SchoolinCity.oap
UserImage.jpg
Cynthia Maria

Hello Amit , this is exactly what I was looking for . Thank you so much. 

2025-08-07 06-30-56
Amit J
Champion

Can you mark solved my solutions.

2025-08-07 06-30-56
Amit J
Champion
SchoolinCity.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.